summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2010-12-17 15:33:58 +0100
committerGrant Likely <grant.likely@secretlab.ca>2010-12-24 01:57:17 -0700
commit4bdac7da5237170b1392f39ebee99d235043fad8 (patch)
treeaeb8398600693c16d6ba15ea9f5725b3f82ed023 /drivers/spi
parent0dd2c96f19b0cffaeb437e50fa5da195920c6e78 (diff)
downloadlinux-4bdac7da5237170b1392f39ebee99d235043fad8.tar.bz2
spi/mpc52xx-spi: fix annotation for remove()-pointer
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/mpc52xx_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/mpc52xx_spi.c b/drivers/spi/mpc52xx_spi.c
index ec9f0b1bf864..84439f655601 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)