diff mbox

spi: mpc52xx-spi: fix annotation for remove()-pointer

Message ID 1292596438-22302-1-git-send-email-w.sang@pengutronix.de (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Wolfram Sang Dec. 17, 2010, 2:33 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/spi/mpc52xx_spi.c b/drivers/spi/mpc52xx_spi.c
index ec9f0b1..84439f6 100644
--- a/drivers/spi/mpc52xx_spi.c
+++ b/drivers/spi/mpc52xx_spi.c
@@ -563,7 +563,7 @@  static struct of_platform_driver mpc52xx_spi_of_driver = {
 		.of_match_table = mpc52xx_spi_match,
 	},
 	.probe = mpc52xx_spi_probe,
-	.remove = __exit_p(mpc52xx_spi_remove),
+	.remove = __devexit_p(mpc52xx_spi_remove),
 };
 
 static int __init mpc52xx_spi_init(void)