diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_pcmcia.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c index c2679c01188b..76da55d27e08 100644 --- a/drivers/ata/pata_pcmcia.c +++ b/drivers/ata/pata_pcmcia.c | |||
@@ -34,7 +34,6 @@ | |||
34 | #include <linux/ata.h> | 34 | #include <linux/ata.h> |
35 | #include <linux/libata.h> | 35 | #include <linux/libata.h> |
36 | 36 | ||
37 | #include <pcmcia/cs.h> | ||
38 | #include <pcmcia/cistpl.h> | 37 | #include <pcmcia/cistpl.h> |
39 | #include <pcmcia/ds.h> | 38 | #include <pcmcia/ds.h> |
40 | #include <pcmcia/cisreg.h> | 39 | #include <pcmcia/cisreg.h> |
@@ -249,7 +248,7 @@ static int pcmcia_init_one(struct pcmcia_device *pdev) | |||
249 | /* Set up attributes in order to probe card and get resources */ | 248 | /* Set up attributes in order to probe card and get resources */ |
250 | pdev->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; | 249 | pdev->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; |
251 | pdev->resource[1]->flags |= IO_DATA_PATH_WIDTH_8; | 250 | pdev->resource[1]->flags |= IO_DATA_PATH_WIDTH_8; |
252 | pdev->conf.Attributes = CONF_ENABLE_IRQ; | 251 | pdev->config_flags |= CONF_ENABLE_IRQ; |
253 | 252 | ||
254 | /* See if we have a manufacturer identifier. Use it to set is_kme for | 253 | /* See if we have a manufacturer identifier. Use it to set is_kme for |
255 | vendor quirks */ | 254 | vendor quirks */ |
@@ -275,7 +274,7 @@ static int pcmcia_init_one(struct pcmcia_device *pdev) | |||
275 | if (!pdev->irq) | 274 | if (!pdev->irq) |
276 | goto failed; | 275 | goto failed; |
277 | 276 | ||
278 | ret = pcmcia_request_configuration(pdev, &pdev->conf); | 277 | ret = pcmcia_enable_device(pdev); |
279 | if (ret) | 278 | if (ret) |
280 | goto failed; | 279 | goto failed; |
281 | 280 | ||