fix pcmcia device removal

SVN-Revision: 16334
lede-17.01
Florian Fainelli 2009-06-04 10:04:11 +00:00
parent 116a53a154
commit 50936e1aa5
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}