diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-06-04 10:04:11 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-06-04 10:04:11 +0000 |
commit | b1bc178db99940d0dd48f330bcfbfbe1a976b749 (patch) | |
tree | 60d14ef021dcea0008da21e4474a9f15720c636b /target/linux/brcm63xx | |
parent | ad623e1c6d0dece237ee1e05a7f33250edc904b0 (diff) |
[brcm63xx] fix pcmcia device removal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16334 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r-- | target/linux/brcm63xx/files/drivers/pcmcia/bcm63xx_pcmcia.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/files/drivers/pcmcia/bcm63xx_pcmcia.c b/target/linux/brcm63xx/files/drivers/pcmcia/bcm63xx_pcmcia.c index 0222b2094f..52b99d5b80 100644 --- a/target/linux/brcm63xx/files/drivers/pcmcia/bcm63xx_pcmcia.c +++ b/target/linux/brcm63xx/files/drivers/pcmcia/bcm63xx_pcmcia.c @@ -455,6 +455,7 @@ static int bcm63xx_drv_pcmcia_remove(struct platform_device *pdev) res = skt->reg_res; release_mem_region(res->start, res->end - res->start + 1); gpio_free(skt->pd->ready_gpio); + platform_set_drvdata(pdev, NULL); kfree(skt); return 0; } |