diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-10-19 02:40:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 14:53:41 -0400 |
commit | 1977f032722c27ee3730284582fd3991ad9ac81b (patch) | |
tree | 00ba5692a697a387399131850c56e01345c7cace /drivers/net | |
parent | 1276b103c20603835d9b903cae099125e8c2c5a3 (diff) |
remove asm/bitops.h includes
remove asm/bitops.h includes
including asm/bitops directly may cause compile errors. don't include it
and include linux/bitops instead. next patch will deny including asm header
directly.
Cc: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bnx2.c | 2 | ||||
-rw-r--r-- | drivers/net/cris/eth_v10.c | 2 | ||||
-rw-r--r-- | drivers/net/cxgb3/adapter.h | 2 | ||||
-rw-r--r-- | drivers/net/hamradio/dmascc.c | 2 | ||||
-rw-r--r-- | drivers/net/mac89x0.c | 2 | ||||
-rw-r--r-- | drivers/net/spider_net.c | 2 | ||||
-rw-r--r-- | drivers/net/tulip/uli526x.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_leds.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 96cee4badd28..da767d3d5af5 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/etherdevice.h> | 26 | #include <linux/etherdevice.h> |
27 | #include <linux/skbuff.h> | 27 | #include <linux/skbuff.h> |
28 | #include <linux/dma-mapping.h> | 28 | #include <linux/dma-mapping.h> |
29 | #include <asm/bitops.h> | 29 | #include <linux/bitops.h> |
30 | #include <asm/io.h> | 30 | #include <asm/io.h> |
31 | #include <asm/irq.h> | 31 | #include <asm/irq.h> |
32 | #include <linux/delay.h> | 32 | #include <linux/delay.h> |
diff --git a/drivers/net/cris/eth_v10.c b/drivers/net/cris/eth_v10.c index 314b2f68f78f..edd6828f0a78 100644 --- a/drivers/net/cris/eth_v10.c +++ b/drivers/net/cris/eth_v10.c | |||
@@ -234,6 +234,7 @@ | |||
234 | #include <linux/spinlock.h> | 234 | #include <linux/spinlock.h> |
235 | #include <linux/errno.h> | 235 | #include <linux/errno.h> |
236 | #include <linux/init.h> | 236 | #include <linux/init.h> |
237 | #include <linux/bitops.h> | ||
237 | 238 | ||
238 | #include <linux/if.h> | 239 | #include <linux/if.h> |
239 | #include <linux/mii.h> | 240 | #include <linux/mii.h> |
@@ -247,7 +248,6 @@ | |||
247 | #include <asm/irq.h> | 248 | #include <asm/irq.h> |
248 | #include <asm/dma.h> | 249 | #include <asm/dma.h> |
249 | #include <asm/system.h> | 250 | #include <asm/system.h> |
250 | #include <asm/bitops.h> | ||
251 | #include <asm/ethernet.h> | 251 | #include <asm/ethernet.h> |
252 | #include <asm/cache.h> | 252 | #include <asm/cache.h> |
253 | 253 | ||
diff --git a/drivers/net/cxgb3/adapter.h b/drivers/net/cxgb3/adapter.h index 044261703381..2a3df145850d 100644 --- a/drivers/net/cxgb3/adapter.h +++ b/drivers/net/cxgb3/adapter.h | |||
@@ -41,9 +41,9 @@ | |||
41 | #include <linux/timer.h> | 41 | #include <linux/timer.h> |
42 | #include <linux/cache.h> | 42 | #include <linux/cache.h> |
43 | #include <linux/mutex.h> | 43 | #include <linux/mutex.h> |
44 | #include <linux/bitops.h> | ||
44 | #include "t3cdev.h" | 45 | #include "t3cdev.h" |
45 | #include <asm/semaphore.h> | 46 | #include <asm/semaphore.h> |
46 | #include <asm/bitops.h> | ||
47 | #include <asm/io.h> | 47 | #include <asm/io.h> |
48 | 48 | ||
49 | typedef irqreturn_t(*intr_handler_t) (int, void *); | 49 | typedef irqreturn_t(*intr_handler_t) (int, void *); |
diff --git a/drivers/net/hamradio/dmascc.c b/drivers/net/hamradio/dmascc.c index bc02e4694804..11b83dae00ac 100644 --- a/drivers/net/hamradio/dmascc.c +++ b/drivers/net/hamradio/dmascc.c | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | 22 | ||
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <linux/bitops.h> | ||
24 | #include <linux/delay.h> | 25 | #include <linux/delay.h> |
25 | #include <linux/errno.h> | 26 | #include <linux/errno.h> |
26 | #include <linux/if_arp.h> | 27 | #include <linux/if_arp.h> |
@@ -35,7 +36,6 @@ | |||
35 | #include <linux/sockios.h> | 36 | #include <linux/sockios.h> |
36 | #include <linux/workqueue.h> | 37 | #include <linux/workqueue.h> |
37 | #include <asm/atomic.h> | 38 | #include <asm/atomic.h> |
38 | #include <asm/bitops.h> | ||
39 | #include <asm/dma.h> | 39 | #include <asm/dma.h> |
40 | #include <asm/io.h> | 40 | #include <asm/io.h> |
41 | #include <asm/irq.h> | 41 | #include <asm/irq.h> |
diff --git a/drivers/net/mac89x0.c b/drivers/net/mac89x0.c index 30854f094965..a19b5958cee9 100644 --- a/drivers/net/mac89x0.c +++ b/drivers/net/mac89x0.c | |||
@@ -99,9 +99,9 @@ static char *version = | |||
99 | #include <linux/etherdevice.h> | 99 | #include <linux/etherdevice.h> |
100 | #include <linux/skbuff.h> | 100 | #include <linux/skbuff.h> |
101 | #include <linux/delay.h> | 101 | #include <linux/delay.h> |
102 | #include <linux/bitops.h> | ||
102 | 103 | ||
103 | #include <asm/system.h> | 104 | #include <asm/system.h> |
104 | #include <asm/bitops.h> | ||
105 | #include <asm/io.h> | 105 | #include <asm/io.h> |
106 | #include <asm/hwtest.h> | 106 | #include <asm/hwtest.h> |
107 | #include <asm/macints.h> | 107 | #include <asm/macints.h> |
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index fab055ffcc90..571060a3c91e 100644 --- a/drivers/net/spider_net.c +++ b/drivers/net/spider_net.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/vmalloc.h> | 46 | #include <linux/vmalloc.h> |
47 | #include <linux/wait.h> | 47 | #include <linux/wait.h> |
48 | #include <linux/workqueue.h> | 48 | #include <linux/workqueue.h> |
49 | #include <asm/bitops.h> | 49 | #include <linux/bitops.h> |
50 | #include <asm/pci-bridge.h> | 50 | #include <asm/pci-bridge.h> |
51 | #include <net/checksum.h> | 51 | #include <net/checksum.h> |
52 | 52 | ||
diff --git a/drivers/net/tulip/uli526x.c b/drivers/net/tulip/uli526x.c index 76e55612430b..a7afeea156bd 100644 --- a/drivers/net/tulip/uli526x.c +++ b/drivers/net/tulip/uli526x.c | |||
@@ -34,9 +34,9 @@ | |||
34 | #include <linux/delay.h> | 34 | #include <linux/delay.h> |
35 | #include <linux/spinlock.h> | 35 | #include <linux/spinlock.h> |
36 | #include <linux/dma-mapping.h> | 36 | #include <linux/dma-mapping.h> |
37 | #include <linux/bitops.h> | ||
37 | 38 | ||
38 | #include <asm/processor.h> | 39 | #include <asm/processor.h> |
39 | #include <asm/bitops.h> | ||
40 | #include <asm/io.h> | 40 | #include <asm/io.h> |
41 | #include <asm/dma.h> | 41 | #include <asm/dma.h> |
42 | #include <asm/uaccess.h> | 42 | #include <asm/uaccess.h> |
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_leds.c b/drivers/net/wireless/bcm43xx/bcm43xx_leds.c index 8f198befba39..cb51dc51cce6 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_leds.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_leds.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "bcm43xx_radio.h" | 29 | #include "bcm43xx_radio.h" |
30 | #include "bcm43xx.h" | 30 | #include "bcm43xx.h" |
31 | 31 | ||
32 | #include <asm/bitops.h> | 32 | #include <linux/bitops.h> |
33 | 33 | ||
34 | 34 | ||
35 | static void bcm43xx_led_changestate(struct bcm43xx_led *led) | 35 | static void bcm43xx_led_changestate(struct bcm43xx_led *led) |