]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MMC] Use __devexit_p in wbsd
authorPierre Ossman <drzeus@drzeus.cx>
Wed, 9 Nov 2005 23:21:06 +0000 (23:21 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Nov 2005 23:21:06 +0000 (23:21 +0000)
wbsd_*_remove() is declared as __devexit but __devexit_p isn't used
when taking their addresses.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/wbsd.c

index e954b8354fef74f3e7f8d6a9dabdfef7814a9c95..46a084a529ca65153700c0bbd7cdf1113060e1b4 100644 (file)
@@ -2042,7 +2042,7 @@ static struct device_driver wbsd_driver = {
        .name           = DRIVER_NAME,
        .bus            = &platform_bus_type,
        .probe          = wbsd_probe,
-       .remove         = wbsd_remove,
+       .remove         = __devexit_p(wbsd_remove),
 
        .suspend        = wbsd_suspend,
        .resume         = wbsd_resume,
@@ -2054,7 +2054,7 @@ static struct pnp_driver wbsd_pnp_driver = {
        .name           = DRIVER_NAME,
        .id_table       = pnp_dev_table,
        .probe          = wbsd_pnp_probe,
-       .remove         = wbsd_pnp_remove,
+       .remove         = __devexit_p(wbsd_pnp_remove),
 };
 
 #endif /* CONFIG_PNP */