diff options
Diffstat (limited to 'arch/arm/mach-omap2/gpmc.c')
-rw-r--r-- | arch/arm/mach-omap2/gpmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 1c7969e965d7..f3fdd6afa213 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c | |||
@@ -1734,7 +1734,7 @@ static int __init omap_gpmc_init(void) | |||
1734 | pdev = omap_device_build(DEVICE_NAME, -1, oh, NULL, 0); | 1734 | pdev = omap_device_build(DEVICE_NAME, -1, oh, NULL, 0); |
1735 | WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); | 1735 | WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); |
1736 | 1736 | ||
1737 | return IS_ERR(pdev) ? PTR_ERR(pdev) : 0; | 1737 | return PTR_RET(pdev); |
1738 | } | 1738 | } |
1739 | omap_postcore_initcall(omap_gpmc_init); | 1739 | omap_postcore_initcall(omap_gpmc_init); |
1740 | 1740 | ||