mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
0dd2c96f19
commit
4bdac7da52
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue