[dpdk-dev] [PATCH] net/avp: fix build with non x86
Jerin Jacob
jerin.jacob at caviumnetworks.com
Mon Apr 3 15:58:35 CEST 2017
sys/io.h is an x86 specific header file and
AVP driver is not using any x86 specific IO
operation. Hence removing the sys/io.h reference
to fix the build issue on non x86 platforms.
Fixes: 5567f9689cf8 ("net/avp: support driver registration")
Signed-off-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
---
drivers/net/avp/avp_ethdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/avp/avp_ethdev.c b/drivers/net/avp/avp_ethdev.c
index 23a59c1..989152e 100644
--- a/drivers/net/avp/avp_ethdev.c
+++ b/drivers/net/avp/avp_ethdev.c
@@ -35,7 +35,6 @@
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
-#include <sys/io.h>
#include <rte_ethdev.h>
#include <rte_memcpy.h>
--
2.5.5
More information about the dev
mailing list