mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 22:43:53 +01:00
fix pcmcia device removal
SVN-Revision: 16334
This commit is contained in:
parent
116a53a154
commit
50936e1aa5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user