diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-07-29 13:27:09 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-09-29 11:20:23 -0400 |
commit | 1ac71e5a35eebee60cdcf15b3980bd94498f037b (patch) | |
tree | 22fa9342ccccce6a774af029ce51a526e55f8180 /drivers/pcmcia | |
parent | 7feabb6412ea23edd298c0fa90e5aa6733eb4a42 (diff) |
pcmcia: convert pcmcia_request_configuration to pcmcia_enable_device
pcmcia_enable_device() now replaces pcmcia_request_configuration().
Instead of config_req_t, all necessary flags are either passed as
a parameter to pcmcia_enable_device(), or (in rare circumstances)
set in struct pcmcia_device -> flags.
With the last remaining user of include/pcmcia/cs.h gone, remove
all references.
CC: netdev@vger.kernel.org
CC: linux-wireless@vger.kernel.org
CC: linux-ide@vger.kernel.org
CC: linux-usb@vger.kernel.org
CC: laforge@gnumonks.org
CC: linux-mtd@lists.infradead.org
CC: alsa-devel@alsa-project.org
CC: linux-serial@vger.kernel.org
CC: Jiri Kosina <jkosina@suse.cz>
CC: linux-scsi@vger.kernel.org
Acked-by: Gustavo F. Padovan <padovan@profusion.mobi> (for drivers/bluetooth)
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r-- | drivers/pcmcia/au1000_generic.h | 1 | ||||
-rw-r--r-- | drivers/pcmcia/au1000_pb1x00.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/cistpl.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/cs.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/cs_internal.h | 5 | ||||
-rw-r--r-- | drivers/pcmcia/ds.c | 3 | ||||
-rw-r--r-- | drivers/pcmcia/i82092.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/i82365.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/m32r_cfc.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/m32r_pcc.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/m8xx_pcmcia.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/pcmcia_cis.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/pcmcia_resource.c | 33 | ||||
-rw-r--r-- | drivers/pcmcia/pd6729.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/rsrc_iodyn.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/rsrc_mgr.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/rsrc_nonstatic.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/sa1100_generic.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/soc_common.h | 1 | ||||
-rw-r--r-- | drivers/pcmcia/socket_sysfs.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/tcic.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/xxs1500_ss.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/yenta_socket.c | 1 |
23 files changed, 17 insertions, 44 deletions
diff --git a/drivers/pcmcia/au1000_generic.h b/drivers/pcmcia/au1000_generic.h index 67530cefcf3c..5c36bda2963b 100644 --- a/drivers/pcmcia/au1000_generic.h +++ b/drivers/pcmcia/au1000_generic.h | |||
@@ -23,7 +23,6 @@ | |||
23 | 23 | ||
24 | /* include the world */ | 24 | /* include the world */ |
25 | 25 | ||
26 | #include <pcmcia/cs.h> | ||
27 | #include <pcmcia/ss.h> | 26 | #include <pcmcia/ss.h> |
28 | #include <pcmcia/cistpl.h> | 27 | #include <pcmcia/cistpl.h> |
29 | #include "cs_internal.h" | 28 | #include "cs_internal.h" |
diff --git a/drivers/pcmcia/au1000_pb1x00.c b/drivers/pcmcia/au1000_pb1x00.c index 807f2d75dad3..b2396647a165 100644 --- a/drivers/pcmcia/au1000_pb1x00.c +++ b/drivers/pcmcia/au1000_pb1x00.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #include <linux/proc_fs.h> | 31 | #include <linux/proc_fs.h> |
32 | #include <linux/types.h> | 32 | #include <linux/types.h> |
33 | 33 | ||
34 | #include <pcmcia/cs.h> | ||
35 | #include <pcmcia/ss.h> | 34 | #include <pcmcia/ss.h> |
36 | #include <pcmcia/cistpl.h> | 35 | #include <pcmcia/cistpl.h> |
37 | 36 | ||
diff --git a/drivers/pcmcia/cistpl.c b/drivers/pcmcia/cistpl.c index 91414a0ddc44..884a984216fe 100644 --- a/drivers/pcmcia/cistpl.c +++ b/drivers/pcmcia/cistpl.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <asm/unaligned.h> | 28 | #include <asm/unaligned.h> |
29 | 29 | ||
30 | #include <pcmcia/ss.h> | 30 | #include <pcmcia/ss.h> |
31 | #include <pcmcia/cs.h> | ||
32 | #include <pcmcia/cisreg.h> | 31 | #include <pcmcia/cisreg.h> |
33 | #include <pcmcia/cistpl.h> | 32 | #include <pcmcia/cistpl.h> |
34 | #include "cs_internal.h" | 33 | #include "cs_internal.h" |
diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c index 2ec8ac97445c..d8189d4061fc 100644 --- a/drivers/pcmcia/cs.c +++ b/drivers/pcmcia/cs.c | |||
@@ -33,7 +33,6 @@ | |||
33 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
34 | 34 | ||
35 | #include <pcmcia/ss.h> | 35 | #include <pcmcia/ss.h> |
36 | #include <pcmcia/cs.h> | ||
37 | #include <pcmcia/cistpl.h> | 36 | #include <pcmcia/cistpl.h> |
38 | #include <pcmcia/cisreg.h> | 37 | #include <pcmcia/cisreg.h> |
39 | #include <pcmcia/ds.h> | 38 | #include <pcmcia/ds.h> |
diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h index 42eef437afd4..7f1953f78b12 100644 --- a/drivers/pcmcia/cs_internal.h +++ b/drivers/pcmcia/cs_internal.h | |||
@@ -33,14 +33,9 @@ | |||
33 | typedef struct config_t { | 33 | typedef struct config_t { |
34 | struct kref ref; | 34 | struct kref ref; |
35 | unsigned int state; | 35 | unsigned int state; |
36 | unsigned int Attributes; | ||
37 | 36 | ||
38 | struct resource io[MAX_IO_WIN]; /* io ports */ | 37 | struct resource io[MAX_IO_WIN]; /* io ports */ |
39 | struct resource mem[MAX_WIN]; /* mem areas */ | 38 | struct resource mem[MAX_WIN]; /* mem areas */ |
40 | |||
41 | struct { | ||
42 | u_int Attributes; | ||
43 | } irq; | ||
44 | } config_t; | 39 | } config_t; |
45 | 40 | ||
46 | 41 | ||
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c index 00db60053f93..dd43bd33a9e3 100644 --- a/drivers/pcmcia/ds.c +++ b/drivers/pcmcia/ds.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/dma-mapping.h> | 26 | #include <linux/dma-mapping.h> |
27 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
28 | 28 | ||
29 | #include <pcmcia/cs.h> | ||
30 | #include <pcmcia/cistpl.h> | 29 | #include <pcmcia/cistpl.h> |
31 | #include <pcmcia/ds.h> | 30 | #include <pcmcia/ds.h> |
32 | #include <pcmcia/ss.h> | 31 | #include <pcmcia/ss.h> |
@@ -1178,7 +1177,7 @@ static int pcmcia_dev_resume(struct device *dev) | |||
1178 | 1177 | ||
1179 | if (p_dev->device_no == p_dev->func) { | 1178 | if (p_dev->device_no == p_dev->func) { |
1180 | dev_dbg(dev, "requesting configuration\n"); | 1179 | dev_dbg(dev, "requesting configuration\n"); |
1181 | ret = pcmcia_request_configuration(p_dev, &p_dev->conf); | 1180 | ret = pcmcia_enable_device(p_dev); |
1182 | if (ret) | 1181 | if (ret) |
1183 | goto out; | 1182 | goto out; |
1184 | } | 1183 | } |
diff --git a/drivers/pcmcia/i82092.c b/drivers/pcmcia/i82092.c index 05d0879ce935..fc7906eaf228 100644 --- a/drivers/pcmcia/i82092.c +++ b/drivers/pcmcia/i82092.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/device.h> | 16 | #include <linux/device.h> |
17 | 17 | ||
18 | #include <pcmcia/ss.h> | 18 | #include <pcmcia/ss.h> |
19 | #include <pcmcia/cs.h> | ||
20 | 19 | ||
21 | #include <asm/system.h> | 20 | #include <asm/system.h> |
22 | #include <asm/io.h> | 21 | #include <asm/io.h> |
diff --git a/drivers/pcmcia/i82365.c b/drivers/pcmcia/i82365.c index 61746bd598b3..72a033a2acdb 100644 --- a/drivers/pcmcia/i82365.c +++ b/drivers/pcmcia/i82365.c | |||
@@ -51,7 +51,6 @@ | |||
51 | #include <asm/system.h> | 51 | #include <asm/system.h> |
52 | 52 | ||
53 | #include <pcmcia/ss.h> | 53 | #include <pcmcia/ss.h> |
54 | #include <pcmcia/cs.h> | ||
55 | 54 | ||
56 | #include <linux/isapnp.h> | 55 | #include <linux/isapnp.h> |
57 | 56 | ||
diff --git a/drivers/pcmcia/m32r_cfc.c b/drivers/pcmcia/m32r_cfc.c index 24de49925863..2adb0106a039 100644 --- a/drivers/pcmcia/m32r_cfc.c +++ b/drivers/pcmcia/m32r_cfc.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <asm/system.h> | 27 | #include <asm/system.h> |
28 | 28 | ||
29 | #include <pcmcia/ss.h> | 29 | #include <pcmcia/ss.h> |
30 | #include <pcmcia/cs.h> | ||
31 | 30 | ||
32 | #undef MAX_IO_WIN /* FIXME */ | 31 | #undef MAX_IO_WIN /* FIXME */ |
33 | #define MAX_IO_WIN 1 | 32 | #define MAX_IO_WIN 1 |
diff --git a/drivers/pcmcia/m32r_pcc.c b/drivers/pcmcia/m32r_pcc.c index 8e4723844ad3..1511ff71c87b 100644 --- a/drivers/pcmcia/m32r_pcc.c +++ b/drivers/pcmcia/m32r_pcc.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <asm/addrspace.h> | 28 | #include <asm/addrspace.h> |
29 | 29 | ||
30 | #include <pcmcia/ss.h> | 30 | #include <pcmcia/ss.h> |
31 | #include <pcmcia/cs.h> | ||
32 | 31 | ||
33 | /* XXX: should be moved into asm/irq.h */ | 32 | /* XXX: should be moved into asm/irq.h */ |
34 | #define PCC0_IRQ 24 | 33 | #define PCC0_IRQ 24 |
diff --git a/drivers/pcmcia/m8xx_pcmcia.c b/drivers/pcmcia/m8xx_pcmcia.c index f0ecad99ce81..99d4f23cb435 100644 --- a/drivers/pcmcia/m8xx_pcmcia.c +++ b/drivers/pcmcia/m8xx_pcmcia.c | |||
@@ -59,7 +59,6 @@ | |||
59 | #include <asm/irq.h> | 59 | #include <asm/irq.h> |
60 | #include <asm/fs_pd.h> | 60 | #include <asm/fs_pd.h> |
61 | 61 | ||
62 | #include <pcmcia/cs.h> | ||
63 | #include <pcmcia/ss.h> | 62 | #include <pcmcia/ss.h> |
64 | 63 | ||
65 | #define pcmcia_info(args...) printk(KERN_INFO "m8xx_pcmcia: "args) | 64 | #define pcmcia_info(args...) printk(KERN_INFO "m8xx_pcmcia: "args) |
diff --git a/drivers/pcmcia/pcmcia_cis.c b/drivers/pcmcia/pcmcia_cis.c index ac47cc4e20e8..ce8b94a3b675 100644 --- a/drivers/pcmcia/pcmcia_cis.c +++ b/drivers/pcmcia/pcmcia_cis.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <pcmcia/cisreg.h> | 22 | #include <pcmcia/cisreg.h> |
23 | #include <pcmcia/cistpl.h> | 23 | #include <pcmcia/cistpl.h> |
24 | #include <pcmcia/ss.h> | 24 | #include <pcmcia/ss.h> |
25 | #include <pcmcia/cs.h> | ||
26 | #include <pcmcia/ds.h> | 25 | #include <pcmcia/ds.h> |
27 | #include "cs_internal.h" | 26 | #include "cs_internal.h" |
28 | 27 | ||
diff --git a/drivers/pcmcia/pcmcia_resource.c b/drivers/pcmcia/pcmcia_resource.c index a1fb0dc1a71f..28de5e6e164c 100644 --- a/drivers/pcmcia/pcmcia_resource.c +++ b/drivers/pcmcia/pcmcia_resource.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <asm/irq.h> | 26 | #include <asm/irq.h> |
27 | 27 | ||
28 | #include <pcmcia/ss.h> | 28 | #include <pcmcia/ss.h> |
29 | #include <pcmcia/cs.h> | ||
30 | #include <pcmcia/cistpl.h> | 29 | #include <pcmcia/cistpl.h> |
31 | #include <pcmcia/cisreg.h> | 30 | #include <pcmcia/cisreg.h> |
32 | #include <pcmcia/ds.h> | 31 | #include <pcmcia/ds.h> |
@@ -230,7 +229,7 @@ EXPORT_SYMBOL(pcmcia_map_mem_page); | |||
230 | * pcmcia_fixup_iowidth() - reduce io width to 8bit | 229 | * pcmcia_fixup_iowidth() - reduce io width to 8bit |
231 | * | 230 | * |
232 | * pcmcia_fixup_iowidth() allows a PCMCIA device driver to reduce the | 231 | * pcmcia_fixup_iowidth() allows a PCMCIA device driver to reduce the |
233 | * IO width to 8bit after having called pcmcia_request_configuration() | 232 | * IO width to 8bit after having called pcmcia_enable_device() |
234 | * previously. | 233 | * previously. |
235 | */ | 234 | */ |
236 | int pcmcia_fixup_iowidth(struct pcmcia_device *p_dev) | 235 | int pcmcia_fixup_iowidth(struct pcmcia_device *p_dev) |
@@ -278,7 +277,7 @@ EXPORT_SYMBOL(pcmcia_fixup_iowidth); | |||
278 | * pcmcia_fixup_vpp() - set Vpp to a new voltage level | 277 | * pcmcia_fixup_vpp() - set Vpp to a new voltage level |
279 | * | 278 | * |
280 | * pcmcia_fixup_vpp() allows a PCMCIA device driver to set Vpp to | 279 | * pcmcia_fixup_vpp() allows a PCMCIA device driver to set Vpp to |
281 | * a new voltage level between calls to pcmcia_request_configuration() | 280 | * a new voltage level between calls to pcmcia_enable_device() |
282 | * and pcmcia_disable_device(). | 281 | * and pcmcia_disable_device(). |
283 | */ | 282 | */ |
284 | int pcmcia_fixup_vpp(struct pcmcia_device *p_dev, unsigned char new_vpp) | 283 | int pcmcia_fixup_vpp(struct pcmcia_device *p_dev, unsigned char new_vpp) |
@@ -432,18 +431,21 @@ int pcmcia_release_window(struct pcmcia_device *p_dev, struct resource *res) | |||
432 | } /* pcmcia_release_window */ | 431 | } /* pcmcia_release_window */ |
433 | EXPORT_SYMBOL(pcmcia_release_window); | 432 | EXPORT_SYMBOL(pcmcia_release_window); |
434 | 433 | ||
435 | 434 | /** | |
436 | int pcmcia_request_configuration(struct pcmcia_device *p_dev, | 435 | * pcmcia_enable_device() - set up and activate a PCMCIA device |
437 | config_req_t *req) | 436 | * |
437 | */ | ||
438 | int pcmcia_enable_device(struct pcmcia_device *p_dev) | ||
438 | { | 439 | { |
439 | int i; | 440 | int i; |
440 | u_int base; | 441 | unsigned int base; |
441 | struct pcmcia_socket *s = p_dev->socket; | 442 | struct pcmcia_socket *s = p_dev->socket; |
442 | config_t *c; | 443 | config_t *c; |
443 | pccard_io_map iomap; | 444 | pccard_io_map iomap; |
444 | unsigned char status = 0; | 445 | unsigned char status = 0; |
445 | unsigned char ext_status = 0; | 446 | unsigned char ext_status = 0; |
446 | unsigned char option = 0; | 447 | unsigned char option = 0; |
448 | unsigned int flags = p_dev->config_flags; | ||
447 | 449 | ||
448 | if (!(s->state & SOCKET_PRESENT)) | 450 | if (!(s->state & SOCKET_PRESENT)) |
449 | return -ENODEV; | 451 | return -ENODEV; |
@@ -466,23 +468,20 @@ int pcmcia_request_configuration(struct pcmcia_device *p_dev, | |||
466 | } | 468 | } |
467 | 469 | ||
468 | /* Pick memory or I/O card, DMA mode, interrupt */ | 470 | /* Pick memory or I/O card, DMA mode, interrupt */ |
469 | c->Attributes = req->Attributes; | ||
470 | if (p_dev->_io) | 471 | if (p_dev->_io) |
471 | s->socket.flags |= SS_IOCARD; | 472 | s->socket.flags |= SS_IOCARD; |
472 | if (req->Attributes & CONF_ENABLE_DMA) | 473 | if (flags & CONF_ENABLE_SPKR) { |
473 | s->socket.flags |= SS_DMA_MODE; | ||
474 | if (req->Attributes & CONF_ENABLE_SPKR) { | ||
475 | s->socket.flags |= SS_SPKR_ENA; | 474 | s->socket.flags |= SS_SPKR_ENA; |
476 | status = CCSR_AUDIO_ENA; | 475 | status = CCSR_AUDIO_ENA; |
477 | if (!(p_dev->config_regs & PRESENT_STATUS)) | 476 | if (!(p_dev->config_regs & PRESENT_STATUS)) |
478 | dev_warn(&p_dev->dev, "speaker requested, but " | 477 | dev_warn(&p_dev->dev, "speaker requested, but " |
479 | "PRESENT_STATUS not set!\n"); | 478 | "PRESENT_STATUS not set!\n"); |
480 | } | 479 | } |
481 | if (req->Attributes & CONF_ENABLE_IRQ) | 480 | if (flags & CONF_ENABLE_IRQ) |
482 | s->socket.io_irq = s->pcmcia_irq; | 481 | s->socket.io_irq = s->pcmcia_irq; |
483 | else | 482 | else |
484 | s->socket.io_irq = 0; | 483 | s->socket.io_irq = 0; |
485 | if (req->Attributes & CONF_ENABLE_ESR) { | 484 | if (flags & CONF_ENABLE_ESR) { |
486 | p_dev->config_regs |= PRESENT_EXT_STATUS; | 485 | p_dev->config_regs |= PRESENT_EXT_STATUS; |
487 | ext_status = ESR_REQ_ATTN_ENA; | 486 | ext_status = ESR_REQ_ATTN_ENA; |
488 | } | 487 | } |
@@ -510,8 +509,8 @@ int pcmcia_request_configuration(struct pcmcia_device *p_dev, | |||
510 | if (p_dev->config_regs & PRESENT_IOBASE_0) | 509 | if (p_dev->config_regs & PRESENT_IOBASE_0) |
511 | option |= COR_ADDR_DECODE; | 510 | option |= COR_ADDR_DECODE; |
512 | } | 511 | } |
513 | if ((req->Attributes & CONF_ENABLE_IRQ) && | 512 | if ((flags & CONF_ENABLE_IRQ) && |
514 | !(req->Attributes & CONF_ENABLE_PULSE_IRQ)) | 513 | !(flags & CONF_ENABLE_PULSE_IRQ)) |
515 | option |= COR_LEVEL_REQ; | 514 | option |= COR_LEVEL_REQ; |
516 | pcmcia_write_cis_mem(s, 1, (base + CISREG_COR)>>1, 1, &option); | 515 | pcmcia_write_cis_mem(s, 1, (base + CISREG_COR)>>1, 1, &option); |
517 | mdelay(40); | 516 | mdelay(40); |
@@ -560,8 +559,8 @@ int pcmcia_request_configuration(struct pcmcia_device *p_dev, | |||
560 | p_dev->_locked = 1; | 559 | p_dev->_locked = 1; |
561 | mutex_unlock(&s->ops_mutex); | 560 | mutex_unlock(&s->ops_mutex); |
562 | return 0; | 561 | return 0; |
563 | } /* pcmcia_request_configuration */ | 562 | } /* pcmcia_enable_device */ |
564 | EXPORT_SYMBOL(pcmcia_request_configuration); | 563 | EXPORT_SYMBOL(pcmcia_enable_device); |
565 | 564 | ||
566 | 565 | ||
567 | /** | 566 | /** |
diff --git a/drivers/pcmcia/pd6729.c b/drivers/pcmcia/pd6729.c index deef6656ab7b..8cbfa067171f 100644 --- a/drivers/pcmcia/pd6729.c +++ b/drivers/pcmcia/pd6729.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/io.h> | 18 | #include <linux/io.h> |
19 | 19 | ||
20 | #include <pcmcia/ss.h> | 20 | #include <pcmcia/ss.h> |
21 | #include <pcmcia/cs.h> | ||
22 | 21 | ||
23 | #include <asm/system.h> | 22 | #include <asm/system.h> |
24 | 23 | ||
diff --git a/drivers/pcmcia/rsrc_iodyn.c b/drivers/pcmcia/rsrc_iodyn.c index 8510c35d2952..523eb691c30b 100644 --- a/drivers/pcmcia/rsrc_iodyn.c +++ b/drivers/pcmcia/rsrc_iodyn.c | |||
@@ -17,7 +17,6 @@ | |||
17 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
18 | 18 | ||
19 | #include <pcmcia/ss.h> | 19 | #include <pcmcia/ss.h> |
20 | #include <pcmcia/cs.h> | ||
21 | #include <pcmcia/cistpl.h> | 20 | #include <pcmcia/cistpl.h> |
22 | #include "cs_internal.h" | 21 | #include "cs_internal.h" |
23 | 22 | ||
diff --git a/drivers/pcmcia/rsrc_mgr.c b/drivers/pcmcia/rsrc_mgr.c index 4e80421fd908..aa628ed0e9f4 100644 --- a/drivers/pcmcia/rsrc_mgr.c +++ b/drivers/pcmcia/rsrc_mgr.c | |||
@@ -17,7 +17,6 @@ | |||
17 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
18 | 18 | ||
19 | #include <pcmcia/ss.h> | 19 | #include <pcmcia/ss.h> |
20 | #include <pcmcia/cs.h> | ||
21 | #include <pcmcia/cistpl.h> | 20 | #include <pcmcia/cistpl.h> |
22 | #include "cs_internal.h" | 21 | #include "cs_internal.h" |
23 | 22 | ||
diff --git a/drivers/pcmcia/rsrc_nonstatic.c b/drivers/pcmcia/rsrc_nonstatic.c index 96f348b35fde..b187555d4388 100644 --- a/drivers/pcmcia/rsrc_nonstatic.c +++ b/drivers/pcmcia/rsrc_nonstatic.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <asm/irq.h> | 29 | #include <asm/irq.h> |
30 | 30 | ||
31 | #include <pcmcia/ss.h> | 31 | #include <pcmcia/ss.h> |
32 | #include <pcmcia/cs.h> | ||
33 | #include <pcmcia/cistpl.h> | 32 | #include <pcmcia/cistpl.h> |
34 | #include "cs_internal.h" | 33 | #include "cs_internal.h" |
35 | 34 | ||
diff --git a/drivers/pcmcia/sa1100_generic.c b/drivers/pcmcia/sa1100_generic.c index e09851480295..945857f8c284 100644 --- a/drivers/pcmcia/sa1100_generic.c +++ b/drivers/pcmcia/sa1100_generic.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #include <linux/slab.h> | 35 | #include <linux/slab.h> |
36 | #include <linux/platform_device.h> | 36 | #include <linux/platform_device.h> |
37 | 37 | ||
38 | #include <pcmcia/cs.h> | ||
39 | #include <pcmcia/ss.h> | 38 | #include <pcmcia/ss.h> |
40 | 39 | ||
41 | #include <asm/hardware/scoop.h> | 40 | #include <asm/hardware/scoop.h> |
diff --git a/drivers/pcmcia/soc_common.h b/drivers/pcmcia/soc_common.h index 3fba3a679128..bbcd5385a221 100644 --- a/drivers/pcmcia/soc_common.h +++ b/drivers/pcmcia/soc_common.h | |||
@@ -11,7 +11,6 @@ | |||
11 | 11 | ||
12 | /* include the world */ | 12 | /* include the world */ |
13 | #include <linux/cpufreq.h> | 13 | #include <linux/cpufreq.h> |
14 | #include <pcmcia/cs.h> | ||
15 | #include <pcmcia/ss.h> | 14 | #include <pcmcia/ss.h> |
16 | #include <pcmcia/cistpl.h> | 15 | #include <pcmcia/cistpl.h> |
17 | 16 | ||
diff --git a/drivers/pcmcia/socket_sysfs.c b/drivers/pcmcia/socket_sysfs.c index cb0d3ace18bd..71aeed93037c 100644 --- a/drivers/pcmcia/socket_sysfs.c +++ b/drivers/pcmcia/socket_sysfs.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <asm/irq.h> | 27 | #include <asm/irq.h> |
28 | 28 | ||
29 | #include <pcmcia/ss.h> | 29 | #include <pcmcia/ss.h> |
30 | #include <pcmcia/cs.h> | ||
31 | #include <pcmcia/cistpl.h> | 30 | #include <pcmcia/cistpl.h> |
32 | #include <pcmcia/cisreg.h> | 31 | #include <pcmcia/cisreg.h> |
33 | #include <pcmcia/ds.h> | 32 | #include <pcmcia/ds.h> |
diff --git a/drivers/pcmcia/tcic.c b/drivers/pcmcia/tcic.c index be0d841c7ebd..310160bffe38 100644 --- a/drivers/pcmcia/tcic.c +++ b/drivers/pcmcia/tcic.c | |||
@@ -49,7 +49,6 @@ | |||
49 | #include <asm/io.h> | 49 | #include <asm/io.h> |
50 | #include <asm/system.h> | 50 | #include <asm/system.h> |
51 | 51 | ||
52 | #include <pcmcia/cs.h> | ||
53 | #include <pcmcia/ss.h> | 52 | #include <pcmcia/ss.h> |
54 | #include "tcic.h" | 53 | #include "tcic.h" |
55 | 54 | ||
diff --git a/drivers/pcmcia/xxs1500_ss.c b/drivers/pcmcia/xxs1500_ss.c index fa88c360c37a..3b67a1b6a197 100644 --- a/drivers/pcmcia/xxs1500_ss.c +++ b/drivers/pcmcia/xxs1500_ss.c | |||
@@ -17,7 +17,6 @@ | |||
17 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
18 | #include <linux/spinlock.h> | 18 | #include <linux/spinlock.h> |
19 | 19 | ||
20 | #include <pcmcia/cs.h> | ||
21 | #include <pcmcia/ss.h> | 20 | #include <pcmcia/ss.h> |
22 | #include <pcmcia/cistpl.h> | 21 | #include <pcmcia/cistpl.h> |
23 | 22 | ||
diff --git a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c index 414d9a6f9a32..408dbaa080a1 100644 --- a/drivers/pcmcia/yenta_socket.c +++ b/drivers/pcmcia/yenta_socket.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
21 | 21 | ||
22 | #include <pcmcia/ss.h> | 22 | #include <pcmcia/ss.h> |
23 | #include <pcmcia/cs.h> | ||
24 | 23 | ||
25 | #include "yenta_socket.h" | 24 | #include "yenta_socket.h" |
26 | #include "i82365.h" | 25 | #include "i82365.h" |