diff options
Diffstat (limited to 'drivers/pcmcia/pcmcia_resource.c')
-rw-r--r-- | drivers/pcmcia/pcmcia_resource.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pcmcia/pcmcia_resource.c b/drivers/pcmcia/pcmcia_resource.c index 555c8698ebd9..f4dcea6ac44b 100644 --- a/drivers/pcmcia/pcmcia_resource.c +++ b/drivers/pcmcia/pcmcia_resource.c | |||
@@ -514,7 +514,6 @@ int pcmcia_release_io(struct pcmcia_device *p_dev, io_req_t *req) | |||
514 | 514 | ||
515 | return CS_SUCCESS; | 515 | return CS_SUCCESS; |
516 | } /* pcmcia_release_io */ | 516 | } /* pcmcia_release_io */ |
517 | EXPORT_SYMBOL(pcmcia_release_io); | ||
518 | 517 | ||
519 | 518 | ||
520 | int pcmcia_release_irq(struct pcmcia_device *p_dev, irq_req_t *req) | 519 | int pcmcia_release_irq(struct pcmcia_device *p_dev, irq_req_t *req) |
@@ -547,7 +546,6 @@ int pcmcia_release_irq(struct pcmcia_device *p_dev, irq_req_t *req) | |||
547 | 546 | ||
548 | return CS_SUCCESS; | 547 | return CS_SUCCESS; |
549 | } /* pcmcia_release_irq */ | 548 | } /* pcmcia_release_irq */ |
550 | EXPORT_SYMBOL(pcmcia_release_irq); | ||
551 | 549 | ||
552 | 550 | ||
553 | int pcmcia_release_window(window_handle_t win) | 551 | int pcmcia_release_window(window_handle_t win) |
@@ -937,6 +935,5 @@ void pcmcia_disable_device(struct pcmcia_device *p_dev) { | |||
937 | pcmcia_release_window(p_dev->instance->win); | 935 | pcmcia_release_window(p_dev->instance->win); |
938 | 936 | ||
939 | p_dev->instance->dev = NULL; | 937 | p_dev->instance->dev = NULL; |
940 | p_dev->instance->state &= ~DEV_CONFIG; | ||
941 | } | 938 | } |
942 | EXPORT_SYMBOL(pcmcia_disable_device); | 939 | EXPORT_SYMBOL(pcmcia_disable_device); |