All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net/avp: fix build with non x86
@ 2017-04-03 13:58 Jerin Jacob
  2017-04-03 14:06 ` Ferruh Yigit
  2017-04-03 14:10 ` Legacy, Allain
  0 siblings, 2 replies; 6+ messages in thread
From: Jerin Jacob @ 2017-04-03 13:58 UTC (permalink / raw)
  To: dev; +Cc: ferruh.yigit, allain.legacy, Jerin Jacob

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@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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-04-03 15:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-03 13:58 [PATCH] net/avp: fix build with non x86 Jerin Jacob
2017-04-03 14:06 ` Ferruh Yigit
2017-04-03 14:10 ` Legacy, Allain
2017-04-03 14:22   ` Jerin Jacob
2017-04-03 14:23     ` Ferruh Yigit
2017-04-03 15:47     ` Legacy, Allain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.