Skip to content

Commit

Permalink
[MMC] Use __devexit_p in wbsd
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pierre Ossman authored and Russell King committed Nov 9, 2005
1 parent ac111bf commit 93968d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mmc/wbsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 */
Expand Down

0 comments on commit 93968d7

Please sign in to comment.