mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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:
parent
93ac56d798
commit
dbbeab5dbd
@ -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…
x
Reference in New Issue
Block a user