fix pcmcia device removal
SVN-Revision: 16334
This commit is contained in:
parent
116a53a154
commit
50936e1aa5
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue