diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2008-01-25 17:51:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 22:27:00 -0500 |
commit | 3692e94f1559523b84a5a0e65929ee84b276e83f (patch) | |
tree | 19e1c018d5f7dbebd0c22dd5ddb2876ea7354e12 | |
parent | 039ee17d1baabaa21783a0d5ab3e8c6d8c794bdf (diff) |
Move usbnet.h and rndis_host.h to include/linux/usb
Move headers usbnet.h and rndis_host.h to include/linux/usb and fix includes
for drivers/net/usb modules. Headers are moved because rndis_wlan will be
outside drivers/net/usb in drivers/net/wireless and yet need these headers.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/usb/asix.c | 3 | ||||
-rw-r--r-- | drivers/net/usb/cdc_ether.c | 3 | ||||
-rw-r--r-- | drivers/net/usb/cdc_subset.c | 3 | ||||
-rw-r--r-- | drivers/net/usb/dm9601.c | 3 | ||||
-rw-r--r-- | drivers/net/usb/gl620a.c | 3 | ||||
-rw-r--r-- | drivers/net/usb/mcs7830.c | 3 | ||||
-rw-r--r-- | drivers/net/usb/net1080.c | 3 | ||||
-rw-r--r-- | drivers/net/usb/plusb.c | 3 | ||||
-rw-r--r-- | drivers/net/usb/rndis_host.c | 5 | ||||
-rw-r--r-- | drivers/net/usb/usbnet.c | 3 | ||||
-rw-r--r-- | drivers/net/usb/zaurus.c | 3 | ||||
-rw-r--r-- | include/linux/usb/rndis_host.h (renamed from drivers/net/usb/rndis_host.h) | 0 | ||||
-rw-r--r-- | include/linux/usb/usbnet.h (renamed from drivers/net/usb/usbnet.h) | 0 |
13 files changed, 12 insertions, 23 deletions
diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c index 569028b2baf2..6f245cfb6624 100644 --- a/drivers/net/usb/asix.c +++ b/drivers/net/usb/asix.c | |||
@@ -33,8 +33,7 @@ | |||
33 | #include <linux/mii.h> | 33 | #include <linux/mii.h> |
34 | #include <linux/usb.h> | 34 | #include <linux/usb.h> |
35 | #include <linux/crc32.h> | 35 | #include <linux/crc32.h> |
36 | 36 | #include <linux/usb/usbnet.h> | |
37 | #include "usbnet.h" | ||
38 | 37 | ||
39 | #define DRIVER_VERSION "14-Jun-2006" | 38 | #define DRIVER_VERSION "14-Jun-2006" |
40 | static const char driver_name [] = "asix"; | 39 | static const char driver_name [] = "asix"; |
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index 97c17bb560ac..a934428a5890 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c | |||
@@ -31,8 +31,7 @@ | |||
31 | #include <linux/mii.h> | 31 | #include <linux/mii.h> |
32 | #include <linux/usb.h> | 32 | #include <linux/usb.h> |
33 | #include <linux/usb/cdc.h> | 33 | #include <linux/usb/cdc.h> |
34 | 34 | #include <linux/usb/usbnet.h> | |
35 | #include "usbnet.h" | ||
36 | 35 | ||
37 | 36 | ||
38 | #if defined(CONFIG_USB_NET_RNDIS_HOST) || defined(CONFIG_USB_NET_RNDIS_HOST_MODULE) | 37 | #if defined(CONFIG_USB_NET_RNDIS_HOST) || defined(CONFIG_USB_NET_RNDIS_HOST_MODULE) |
diff --git a/drivers/net/usb/cdc_subset.c b/drivers/net/usb/cdc_subset.c index 943988ed01d8..0ec7936cbe21 100644 --- a/drivers/net/usb/cdc_subset.c +++ b/drivers/net/usb/cdc_subset.c | |||
@@ -26,8 +26,7 @@ | |||
26 | #include <linux/workqueue.h> | 26 | #include <linux/workqueue.h> |
27 | #include <linux/mii.h> | 27 | #include <linux/mii.h> |
28 | #include <linux/usb.h> | 28 | #include <linux/usb.h> |
29 | 29 | #include <linux/usb/usbnet.h> | |
30 | #include "usbnet.h" | ||
31 | 30 | ||
32 | 31 | ||
33 | /* | 32 | /* |
diff --git a/drivers/net/usb/dm9601.c b/drivers/net/usb/dm9601.c index 633a511d6cb6..4b131a6c6b70 100644 --- a/drivers/net/usb/dm9601.c +++ b/drivers/net/usb/dm9601.c | |||
@@ -20,8 +20,7 @@ | |||
20 | #include <linux/mii.h> | 20 | #include <linux/mii.h> |
21 | #include <linux/usb.h> | 21 | #include <linux/usb.h> |
22 | #include <linux/crc32.h> | 22 | #include <linux/crc32.h> |
23 | 23 | #include <linux/usb/usbnet.h> | |
24 | #include "usbnet.h" | ||
25 | 24 | ||
26 | /* datasheet: | 25 | /* datasheet: |
27 | http://www.davicom.com.tw/big5/download/Data%20Sheet/DM9601-DS-P01-930914.pdf | 26 | http://www.davicom.com.tw/big5/download/Data%20Sheet/DM9601-DS-P01-930914.pdf |
diff --git a/drivers/net/usb/gl620a.c b/drivers/net/usb/gl620a.c index 031cf5ca4dbb..f7ccfad9384e 100644 --- a/drivers/net/usb/gl620a.c +++ b/drivers/net/usb/gl620a.c | |||
@@ -29,8 +29,7 @@ | |||
29 | #include <linux/workqueue.h> | 29 | #include <linux/workqueue.h> |
30 | #include <linux/mii.h> | 30 | #include <linux/mii.h> |
31 | #include <linux/usb.h> | 31 | #include <linux/usb.h> |
32 | 32 | #include <linux/usb/usbnet.h> | |
33 | #include "usbnet.h" | ||
34 | 33 | ||
35 | 34 | ||
36 | /* | 35 | /* |
diff --git a/drivers/net/usb/mcs7830.c b/drivers/net/usb/mcs7830.c index 5ea7411e1337..c3d119f997f5 100644 --- a/drivers/net/usb/mcs7830.c +++ b/drivers/net/usb/mcs7830.c | |||
@@ -31,8 +31,7 @@ | |||
31 | #include <linux/module.h> | 31 | #include <linux/module.h> |
32 | #include <linux/netdevice.h> | 32 | #include <linux/netdevice.h> |
33 | #include <linux/usb.h> | 33 | #include <linux/usb.h> |
34 | 34 | #include <linux/usb/usbnet.h> | |
35 | #include "usbnet.h" | ||
36 | 35 | ||
37 | /* requests */ | 36 | /* requests */ |
38 | #define MCS7830_RD_BMREQ (USB_DIR_IN | USB_TYPE_VENDOR | \ | 37 | #define MCS7830_RD_BMREQ (USB_DIR_IN | USB_TYPE_VENDOR | \ |
diff --git a/drivers/net/usb/net1080.c b/drivers/net/usb/net1080.c index 19bf8dae70c9..034e8a73ca6b 100644 --- a/drivers/net/usb/net1080.c +++ b/drivers/net/usb/net1080.c | |||
@@ -28,11 +28,10 @@ | |||
28 | #include <linux/workqueue.h> | 28 | #include <linux/workqueue.h> |
29 | #include <linux/mii.h> | 29 | #include <linux/mii.h> |
30 | #include <linux/usb.h> | 30 | #include <linux/usb.h> |
31 | #include <linux/usb/usbnet.h> | ||
31 | 32 | ||
32 | #include <asm/unaligned.h> | 33 | #include <asm/unaligned.h> |
33 | 34 | ||
34 | #include "usbnet.h" | ||
35 | |||
36 | 35 | ||
37 | /* | 36 | /* |
38 | * Netchip 1080 driver ... http://www.netchip.com | 37 | * Netchip 1080 driver ... http://www.netchip.com |
diff --git a/drivers/net/usb/plusb.c b/drivers/net/usb/plusb.c index 45300939d185..08555f8b15f4 100644 --- a/drivers/net/usb/plusb.c +++ b/drivers/net/usb/plusb.c | |||
@@ -28,8 +28,7 @@ | |||
28 | #include <linux/workqueue.h> | 28 | #include <linux/workqueue.h> |
29 | #include <linux/mii.h> | 29 | #include <linux/mii.h> |
30 | #include <linux/usb.h> | 30 | #include <linux/usb.h> |
31 | 31 | #include <linux/usb/usbnet.h> | |
32 | #include "usbnet.h" | ||
33 | 32 | ||
34 | 33 | ||
35 | /* | 34 | /* |
diff --git a/drivers/net/usb/rndis_host.c b/drivers/net/usb/rndis_host.c index 0606e11510ae..a61324757b17 100644 --- a/drivers/net/usb/rndis_host.c +++ b/drivers/net/usb/rndis_host.c | |||
@@ -29,9 +29,8 @@ | |||
29 | #include <linux/mii.h> | 29 | #include <linux/mii.h> |
30 | #include <linux/usb.h> | 30 | #include <linux/usb.h> |
31 | #include <linux/usb/cdc.h> | 31 | #include <linux/usb/cdc.h> |
32 | 32 | #include <linux/usb/usbnet.h> | |
33 | #include "usbnet.h" | 33 | #include <linux/usb/rndis_host.h> |
34 | #include "rndis_host.h" | ||
35 | 34 | ||
36 | 35 | ||
37 | /* | 36 | /* |
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index a2a2d5e2c72e..8463efb9e0b1 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c | |||
@@ -41,8 +41,7 @@ | |||
41 | #include <linux/workqueue.h> | 41 | #include <linux/workqueue.h> |
42 | #include <linux/mii.h> | 42 | #include <linux/mii.h> |
43 | #include <linux/usb.h> | 43 | #include <linux/usb.h> |
44 | 44 | #include <linux/usb/usbnet.h> | |
45 | #include "usbnet.h" | ||
46 | 45 | ||
47 | #define DRIVER_VERSION "22-Aug-2005" | 46 | #define DRIVER_VERSION "22-Aug-2005" |
48 | 47 | ||
diff --git a/drivers/net/usb/zaurus.c b/drivers/net/usb/zaurus.c index 9f98e8ce487a..e24f7b3ace4b 100644 --- a/drivers/net/usb/zaurus.c +++ b/drivers/net/usb/zaurus.c | |||
@@ -29,8 +29,7 @@ | |||
29 | #include <linux/crc32.h> | 29 | #include <linux/crc32.h> |
30 | #include <linux/usb.h> | 30 | #include <linux/usb.h> |
31 | #include <linux/usb/cdc.h> | 31 | #include <linux/usb/cdc.h> |
32 | 32 | #include <linux/usb/usbnet.h> | |
33 | #include "usbnet.h" | ||
34 | 33 | ||
35 | 34 | ||
36 | /* | 35 | /* |
diff --git a/drivers/net/usb/rndis_host.h b/include/linux/usb/rndis_host.h index edc1d4a0e272..edc1d4a0e272 100644 --- a/drivers/net/usb/rndis_host.h +++ b/include/linux/usb/rndis_host.h | |||
diff --git a/drivers/net/usb/usbnet.h b/include/linux/usb/usbnet.h index e0501da3dd11..e0501da3dd11 100644 --- a/drivers/net/usb/usbnet.h +++ b/include/linux/usb/usbnet.h | |||