1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 19:03:08 +02:00

[brcm63xx] fix pcmcia device removal

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16334 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2009-06-04 10:04:11 +00:00
parent ad623e1c6d
commit b1bc178db9

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