Commit 4bdac7da authored by Wolfram Sang's avatar Wolfram Sang Committed by Grant Likely

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

Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 0dd2c96f
...@@ -563,7 +563,7 @@ static struct of_platform_driver mpc52xx_spi_of_driver = { ...@@ -563,7 +563,7 @@ static struct of_platform_driver mpc52xx_spi_of_driver = {
.of_match_table = mpc52xx_spi_match, .of_match_table = mpc52xx_spi_match,
}, },
.probe = mpc52xx_spi_probe, .probe = mpc52xx_spi_probe,
.remove = __exit_p(mpc52xx_spi_remove), .remove = __devexit_p(mpc52xx_spi_remove),
}; };
static int __init mpc52xx_spi_init(void) static int __init mpc52xx_spi_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment