aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-11-24 16:07:27 -0500
committerGrant Likely <grant.likely@secretlab.ca>2009-12-08 20:48:16 -0500
commitb3a08945166adc8515a8c7927fbf0df264db5b63 (patch)
tree2c889e4d35a85d24a8fd5753a81625cc914f0c2d /drivers
parentbbd050af0e2b7d77bfc959cf76219eb71c3b982a (diff)
spi/mpc8xxx: don't use __exit_p to wrap plat_mpc8xxx_spi_remove
The function plat_mpc8xxx_spi_remove is defined using __devexit, so don't use __exit_p but __devexit_p to wrap it. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/spi_mpc8xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_mpc8xxx.c b/drivers/spi/spi_mpc8xxx.c
index 0fd0ec4d3a7d..1d98be9b1946 100644
--- a/drivers/spi/spi_mpc8xxx.c
+++ b/drivers/spi/spi_mpc8xxx.c
@@ -900,7 +900,7 @@ static int __devexit plat_mpc8xxx_spi_remove(struct platform_device *pdev)
900MODULE_ALIAS("platform:mpc8xxx_spi"); 900MODULE_ALIAS("platform:mpc8xxx_spi");
901static struct platform_driver mpc8xxx_spi_driver = { 901static struct platform_driver mpc8xxx_spi_driver = {
902 .probe = plat_mpc8xxx_spi_probe, 902 .probe = plat_mpc8xxx_spi_probe,
903 .remove = __exit_p(plat_mpc8xxx_spi_remove), 903 .remove = __devexit_p(plat_mpc8xxx_spi_remove),
904 .driver = { 904 .driver = {
905 .name = "mpc8xxx_spi", 905 .name = "mpc8xxx_spi",
906 .owner = THIS_MODULE, 906 .owner = THIS_MODULE,