From: Wolfram Sang Date: Fri, 17 Dec 2010 14:33:58 +0000 (+0100) Subject: spi/mpc52xx-spi: fix annotation for remove()-pointer X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4bdac7da5237170b1392f39ebee99d235043fad8;p=openwrt%2Fstaging%2Fblogic.git spi/mpc52xx-spi: fix annotation for remove()-pointer Signed-off-by: Wolfram Sang Signed-off-by: Grant Likely --- 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)