diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2005-11-09 18:21:06 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-09 18:21:06 -0500 |
commit | 93968d7551f1ff1806f70cdacf1bd997ef30836e (patch) | |
tree | b179fbc0444c7293bc5d6e728bdebb975e87c25d /drivers/mmc | |
parent | ac111bfaa6b0b3c0edc63c27bd9617d6b08851ff (diff) |
[MMC] Use __devexit_p in wbsd
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/wbsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/wbsd.c b/drivers/mmc/wbsd.c index e954b8354fef..46a084a529ca 100644 --- a/drivers/mmc/wbsd.c +++ b/drivers/mmc/wbsd.c | |||
@@ -2042,7 +2042,7 @@ static struct device_driver wbsd_driver = { | |||
2042 | .name = DRIVER_NAME, | 2042 | .name = DRIVER_NAME, |
2043 | .bus = &platform_bus_type, | 2043 | .bus = &platform_bus_type, |
2044 | .probe = wbsd_probe, | 2044 | .probe = wbsd_probe, |
2045 | .remove = wbsd_remove, | 2045 | .remove = __devexit_p(wbsd_remove), |
2046 | 2046 | ||
2047 | .suspend = wbsd_suspend, | 2047 | .suspend = wbsd_suspend, |
2048 | .resume = wbsd_resume, | 2048 | .resume = wbsd_resume, |
@@ -2054,7 +2054,7 @@ static struct pnp_driver wbsd_pnp_driver = { | |||
2054 | .name = DRIVER_NAME, | 2054 | .name = DRIVER_NAME, |
2055 | .id_table = pnp_dev_table, | 2055 | .id_table = pnp_dev_table, |
2056 | .probe = wbsd_pnp_probe, | 2056 | .probe = wbsd_pnp_probe, |
2057 | .remove = wbsd_pnp_remove, | 2057 | .remove = __devexit_p(wbsd_pnp_remove), |
2058 | }; | 2058 | }; |
2059 | 2059 | ||
2060 | #endif /* CONFIG_PNP */ | 2060 | #endif /* CONFIG_PNP */ |