diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-omap/mcbsp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/mcbsp.c b/arch/arm/plat-omap/mcbsp.c index e63990fd923f..e0803a8344be 100644 --- a/arch/arm/plat-omap/mcbsp.c +++ b/arch/arm/plat-omap/mcbsp.c | |||
@@ -804,7 +804,7 @@ EXPORT_SYMBOL(omap_mcbsp_set_spi_mode); | |||
804 | * McBSP1 and McBSP3 are directly mapped on 1610 and 1510. | 804 | * McBSP1 and McBSP3 are directly mapped on 1610 and 1510. |
805 | * 730 has only 2 McBSP, and both of them are MPU peripherals. | 805 | * 730 has only 2 McBSP, and both of them are MPU peripherals. |
806 | */ | 806 | */ |
807 | static int __init omap_mcbsp_probe(struct platform_device *pdev) | 807 | static int __devinit omap_mcbsp_probe(struct platform_device *pdev) |
808 | { | 808 | { |
809 | struct omap_mcbsp_platform_data *pdata = pdev->dev.platform_data; | 809 | struct omap_mcbsp_platform_data *pdata = pdev->dev.platform_data; |
810 | int id = pdev->id - 1; | 810 | int id = pdev->id - 1; |
@@ -868,7 +868,7 @@ exit: | |||
868 | return ret; | 868 | return ret; |
869 | } | 869 | } |
870 | 870 | ||
871 | static int omap_mcbsp_remove(struct platform_device *pdev) | 871 | static int __devexit omap_mcbsp_remove(struct platform_device *pdev) |
872 | { | 872 | { |
873 | struct omap_mcbsp *mcbsp = platform_get_drvdata(pdev); | 873 | struct omap_mcbsp *mcbsp = platform_get_drvdata(pdev); |
874 | 874 | ||
@@ -894,7 +894,7 @@ static int omap_mcbsp_remove(struct platform_device *pdev) | |||
894 | 894 | ||
895 | static struct platform_driver omap_mcbsp_driver = { | 895 | static struct platform_driver omap_mcbsp_driver = { |
896 | .probe = omap_mcbsp_probe, | 896 | .probe = omap_mcbsp_probe, |
897 | .remove = omap_mcbsp_remove, | 897 | .remove = __devexit_p(omap_mcbsp_remove), |
898 | .driver = { | 898 | .driver = { |
899 | .name = "omap-mcbsp", | 899 | .name = "omap-mcbsp", |
900 | }, | 900 | }, |