Skip to content

Commit

Permalink
spi/mpc52xx-spi: fix annotation for remove()-pointer
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Wolfram Sang authored and Grant Likely committed Dec 24, 2010
1 parent 0dd2c96 commit 4bdac7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/mpc52xx_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4bdac7d

Please sign in to comment.