Skip to contentSkip to conversation

drivers/net: dsa/mv88e6xxx.c files need linux/module.h

PATCH Applied Paul Gortmaker 2 participants 2 messages Jan 24, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/net: dsa/mv88e6xxx.c files need linux/module.h

An implicit instance of module.h leaked back into existence and was masking the fact that these drivers weren't calling out the include for itself. Fix the drivers before we remove the implicit include path via net/netprio_cgroup.h file.

drivers/net/dsa/mv88e6060.c +1 -0
index 7fc4e81..325391d 100644
@@ -9,6 +9,7 @@
  */
 
 #include <linux/list.h>
+#include <linux/module.h>
 #include <linux/netdevice.h>
 #include <linux/phy.h>
 #include <net/dsa.h>
drivers/net/dsa/mv88e6123_61_65.c +1 -0
index c0a458f..05b5f92 100644
@@ -9,6 +9,7 @@
  */
 
 #include <linux/list.h>
+#include <linux/module.h>
 #include <linux/netdevice.h>
 #include <linux/phy.h>
 #include <net/dsa.h>
drivers/net/dsa/mv88e6131.c +1 -0
index e0eb6824..55888b0 100644
@@ -9,6 +9,7 @@
  */
 
 #include <linux/list.h>
+#include <linux/module.h>
 #include <linux/netdevice.h>
 #include <linux/phy.h>
 #include <net/dsa.h>
drivers/net/dsa/mv88e6xxx.c +1 -0
index 5467c04..a2c62c2 100644
@@ -9,6 +9,7 @@
  */
 
 #include <linux/list.h>
+#include <linux/module.h>
 #include <linux/netdevice.h>
 #include <linux/phy.h>
 #include <net/dsa.h>
Signature · 1 line
1.7.7.2
maintainer Applied
#1 lore raw

From: Paul Gortmaker <[email protected]>
Date: Tue, 24 Jan 2012 15:41:40 -0500

Quoted 6 lines

An implicit instance of module.h leaked back into existence and was masking the fact that these drivers weren't calling out the include for itself. Fix the drivers before we remove the implicit include path via net/netprio_cgroup.h file.

Applied, thanks.