Thread (10 messages) 10 messages, 3 authors, 2020-09-15
STALE2118d

[PATCH net-next v5 4/6] 8390: Include necessary libraries

From: Armin Wolf <W_Armin@gmx.de>
Date: 2020-09-14 21:02:57
Subsystem: 8390 network drivers [ne2000, 3c503, etc.], networking drivers, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

Include necessary libraries.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
---
 drivers/net/ethernet/8390/8390.c | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/drivers/net/ethernet/8390/8390.c b/drivers/net/ethernet/8390/8390.c
index 318f827cc085..911fad7af3bd 100644
--- a/drivers/net/ethernet/8390/8390.c
+++ b/drivers/net/ethernet/8390/8390.c
@@ -3,6 +3,13 @@
 #define DRV_DESCRIPTION "8390 core for usual drivers"
 #define DRV_AUTHOR "Donald Becker (becker@cesdis.gsfc.nasa.gov)"

+#include <linux/etherdevice.h>
+#include <linux/export.h>
+#include <linux/init.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/netdevice.h>
+
 #include "lib8390.c"

 MODULE_AUTHOR(DRV_AUTHOR);
--
2.20.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help