[kernel] update to 2.6.27.32
[openwrt.git] / target / linux / brcm63xx / files / drivers / pcmcia / bcm63xx_pcmcia.c
index 0222b20..383e322 100644 (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;
 }
@@ -466,8 +467,6 @@ struct platform_driver bcm63xx_pcmcia_driver = {
                .name   = "bcm63xx_pcmcia",
                .owner  = THIS_MODULE,
        },
-
-       { },
 };
 
 #ifdef CONFIG_CARDBUS
This page took 0.018648 seconds and 4 git commands to generate.