[11/12] drivers/net: dsa/mv88e6xxx.c files need linux/module.h

Submitted by Tim Gardner on May 24, 2012, 8:58 p.m.

Details

Message ID 1337893104-130090-12-git-send-email-tim.gardner@canonical.com
State New
Headers show

Commit Message

Tim Gardner May 24, 2012, 8:58 p.m.
From: Paul Gortmaker <paul.gortmaker@windriver.com>

BugLink: http://bugs.launchpad.net/bugs/1004148

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.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 2bbba277a554431a426e81f37d5c50ab6216c07d)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
 drivers/net/dsa/mv88e6060.c       |    1 +
 drivers/net/dsa/mv88e6123_61_65.c |    1 +
 drivers/net/dsa/mv88e6131.c       |    1 +
 drivers/net/dsa/mv88e6xxx.c       |    1 +
 4 files changed, 4 insertions(+)

Patch hide | download patch | download mbox

diff --git a/drivers/net/dsa/mv88e6060.c b/drivers/net/dsa/mv88e6060.c
index 7fc4e81..325391d 100644
--- a/drivers/net/dsa/mv88e6060.c
+++ b/drivers/net/dsa/mv88e6060.c
@@ -9,6 +9,7 @@ 
  */
 
 #include <linux/list.h>
+#include <linux/module.h>
 #include <linux/netdevice.h>
 #include <linux/phy.h>
 #include <net/dsa.h>
diff --git a/drivers/net/dsa/mv88e6123_61_65.c b/drivers/net/dsa/mv88e6123_61_65.c
index 6f23c95..c17c75b 100644
--- a/drivers/net/dsa/mv88e6123_61_65.c
+++ b/drivers/net/dsa/mv88e6123_61_65.c
@@ -9,6 +9,7 @@ 
  */
 
 #include <linux/list.h>
+#include <linux/module.h>
 #include <linux/netdevice.h>
 #include <linux/phy.h>
 #include <net/dsa.h>
diff --git a/drivers/net/dsa/mv88e6131.c b/drivers/net/dsa/mv88e6131.c
index e0eb6824..55888b0 100644
--- a/drivers/net/dsa/mv88e6131.c
+++ b/drivers/net/dsa/mv88e6131.c
@@ -9,6 +9,7 @@ 
  */
 
 #include <linux/list.h>
+#include <linux/module.h>
 #include <linux/netdevice.h>
 #include <linux/phy.h>
 #include <net/dsa.h>
diff --git a/drivers/net/dsa/mv88e6xxx.c b/drivers/net/dsa/mv88e6xxx.c
index 5467c04..a2c62c2 100644
--- a/drivers/net/dsa/mv88e6xxx.c
+++ b/drivers/net/dsa/mv88e6xxx.c
@@ -9,6 +9,7 @@ 
  */
 
 #include <linux/list.h>
+#include <linux/module.h>
 #include <linux/netdevice.h>
 #include <linux/phy.h>
 #include <net/dsa.h>