diff options
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c index 87a3b01d254c..bc9035ec87fc 100644 --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | |||
@@ -3270,7 +3270,7 @@ int __init omap3xxx_hwmod_init(void) | |||
3270 | 3270 | ||
3271 | /* Register hwmods common to all OMAP3 */ | 3271 | /* Register hwmods common to all OMAP3 */ |
3272 | r = omap_hwmod_register(omap3xxx_hwmods); | 3272 | r = omap_hwmod_register(omap3xxx_hwmods); |
3273 | if (!r) | 3273 | if (r < 0) |
3274 | return r; | 3274 | return r; |
3275 | 3275 | ||
3276 | rev = omap_rev(); | 3276 | rev = omap_rev(); |
@@ -3295,7 +3295,7 @@ int __init omap3xxx_hwmod_init(void) | |||
3295 | }; | 3295 | }; |
3296 | 3296 | ||
3297 | r = omap_hwmod_register(h); | 3297 | r = omap_hwmod_register(h); |
3298 | if (!r) | 3298 | if (r < 0) |
3299 | return r; | 3299 | return r; |
3300 | 3300 | ||
3301 | /* | 3301 | /* |