diff options
-rw-r--r-- | arch/arm/mach-omap2/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 0d2d6a9c303c..d478f53f9084 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
@@ -65,7 +65,7 @@ static int __init omap3_l3_init(void) | |||
65 | 65 | ||
66 | WARN(IS_ERR(od), "could not build omap_device for %s\n", oh_name); | 66 | WARN(IS_ERR(od), "could not build omap_device for %s\n", oh_name); |
67 | 67 | ||
68 | return PTR_ERR(od); | 68 | return IS_ERR(od) ? PTR_ERR(od) : 0; |
69 | } | 69 | } |
70 | postcore_initcall(omap3_l3_init); | 70 | postcore_initcall(omap3_l3_init); |
71 | 71 | ||