]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/net: Add module.h to drivers who were implicitly using it
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 3 Jul 2011 19:21:01 +0000 (15:21 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:32 +0000 (04:05 -0400)
The device.h header was including module.h, making it present for
these drivers.  But we want to clean that up.  Call out the include
of module.h in the modular network drivers.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/net/mlx4/catas.c
drivers/net/mlx4/fw.c
drivers/net/phy/realtek.c
drivers/net/wireless/b43/pcmcia.c

index 32f947154c33c1f7acddb015972cb312878e9ecd..45aea9c3ae2c3f0825771a9a216ee1ccfa5765d7 100644 (file)
@@ -32,6 +32,7 @@
  */
 
 #include <linux/workqueue.h>
+#include <linux/module.h>
 
 #include "mlx4.h"
 
index 7eb8ba822e9724354a843eeb6610fbc027fdcfd6..79e6f900ef1bae65c26d3c7f3eb4979365d883a5 100644 (file)
@@ -33,6 +33,7 @@
  */
 
 #include <linux/mlx4/cmd.h>
+#include <linux/module.h>
 #include <linux/cache.h>
 
 #include "fw.h"
index a4eae750a4145084b0cf45e90b875f1eb2c019c3..f414ffb5b728130591530cfaa350eb78fb03251b 100644 (file)
@@ -14,6 +14,7 @@
  *
  */
 #include <linux/phy.h>
+#include <linux/module.h>
 
 #define RTL821x_PHYSR          0x11
 #define RTL821x_PHYSR_DUPLEX   0x2000
index 12b6b4067a398e7b6958a76af9b48f7d81831172..714cad649c45b68281ae7c2c1e7f66e7c317c52c 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <linux/ssb/ssb.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include <pcmcia/cistpl.h>
 #include <pcmcia/ciscode.h>