summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/realtek.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-03 21:21:01 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:31:07 +0100
commit9d9779e723a5d23b94abbe5bb7d1197921f6f3dd (patch)
tree19c5f0910a919c3a230867f1aec1f81daedf1f4c /drivers/net/phy/realtek.c
parentunicore32: EXPORT_SYMBOL needs export.h (diff)
downloadlinux-9d9779e723a5d23b94abbe5bb7d1197921f6f3dd.tar.xz
linux-9d9779e723a5d23b94abbe5bb7d1197921f6f3dd.zip
drivers/net: Add module.h to drivers who were implicitly using it
The device.h header was including module.h, making it present for most of 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>
Diffstat (limited to 'drivers/net/phy/realtek.c')
-rw-r--r--drivers/net/phy/realtek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c
index a4eae750a414..f414ffb5b728 100644
--- a/drivers/net/phy/realtek.c
+++ b/drivers/net/phy/realtek.c
@@ -14,6 +14,7 @@
*
*/
#include <linux/phy.h>
+#include <linux/module.h>
#define RTL821x_PHYSR 0x11
#define RTL821x_PHYSR_DUPLEX 0x2000