diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-06-04 10:04:11 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-06-04 10:04:11 +0000 |
commit | 50936e1aa5218949161a9c7791367cfe08fc40cb (patch) | |
tree | bcff8109cc18fcd342a8abf052c327e995d72114 /target/linux/brcm63xx/files | |
parent | 116a53a15433ecf1bccfe991e6a157695601e95d (diff) | |
download | mtk-20170518-50936e1aa5218949161a9c7791367cfe08fc40cb.zip mtk-20170518-50936e1aa5218949161a9c7791367cfe08fc40cb.tar.gz mtk-20170518-50936e1aa5218949161a9c7791367cfe08fc40cb.tar.bz2 |
fix pcmcia device removal
SVN-Revision: 16334
Diffstat (limited to 'target/linux/brcm63xx/files')
-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 0222b20..52b99d5 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; } |