diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3beagle.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3beagle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 5382215a49bc..6955a428f534 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -489,7 +489,7 @@ static int __init beagle_opp_init(void) | |||
489 | 489 | ||
490 | /* Initialize the omap3 opp table if not already created. */ | 490 | /* Initialize the omap3 opp table if not already created. */ |
491 | r = omap3_opp_init(); | 491 | r = omap3_opp_init(); |
492 | if (IS_ERR_VALUE(r) && (r != -EEXIST)) { | 492 | if (r < 0 && (r != -EEXIST)) { |
493 | pr_err("%s: opp default init failed\n", __func__); | 493 | pr_err("%s: opp default init failed\n", __func__); |
494 | return r; | 494 | return r; |
495 | } | 495 | } |