aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand/omap2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/onenand/omap2.c')
-rw-r--r--drivers/mtd/onenand/omap2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c
index f2e9de1414df..df26db863f2f 100644
--- a/drivers/mtd/onenand/omap2.c
+++ b/drivers/mtd/onenand/omap2.c
@@ -566,7 +566,7 @@ int omap2_onenand_rephase(void)
566 NULL, __adjust_timing); 566 NULL, __adjust_timing);
567} 567}
568 568
569static void __devexit omap2_onenand_shutdown(struct platform_device *pdev) 569static void omap2_onenand_shutdown(struct platform_device *pdev)
570{ 570{
571 struct omap2_onenand *c = dev_get_drvdata(&pdev->dev); 571 struct omap2_onenand *c = dev_get_drvdata(&pdev->dev);
572 572
@@ -778,7 +778,7 @@ static int __devexit omap2_onenand_remove(struct platform_device *pdev)
778 778
779static struct platform_driver omap2_onenand_driver = { 779static struct platform_driver omap2_onenand_driver = {
780 .probe = omap2_onenand_probe, 780 .probe = omap2_onenand_probe,
781 .remove = omap2_onenand_remove, 781 .remove = __devexit_p(omap2_onenand_remove),
782 .shutdown = omap2_onenand_shutdown, 782 .shutdown = omap2_onenand_shutdown,
783 .driver = { 783 .driver = {
784 .name = DRIVER_NAME, 784 .name = DRIVER_NAME,