提交 4bdac7da 编写于 作者: W Wolfram Sang 提交者: Grant Likely

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

Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册