spi/mpc52xx-spi: fix annotation for remove()-pointer
authorWolfram Sang <w.sang@pengutronix.de>
Fri, 17 Dec 2010 14:33:58 +0000 (15:33 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 24 Dec 2010 08:57:17 +0000 (01:57 -0700)
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/mpc52xx_spi.c

index ec9f0b1bf86494da73bd8d14cc69fe5927db8065..84439f655601f71577483acd423aed7622fae807 100644 (file)
@@ -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)