From 1369e8ba8b33a4dadbbef441b4f5ac104e4db1a9 Mon Sep 17 00:00:00 2001 From: Rabin Vincent Date: Sat, 7 May 2011 22:28:47 +0530 Subject: [PATCH] --- yaml --- r: 253149 b: refs/heads/master c: 1499f2dbafafe844e485ff8945f60cd9f3d5cbd9 h: refs/heads/master i: 253147: 694085ff81ae5b78337b477b5c32a4bdc83c9fcb v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-omap2/devices.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ad8c4a239fc0..da50f2725981 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 50b4860d577b4bef76c71ad38ef83b9f368283c2 +refs/heads/master: 1499f2dbafafe844e485ff8945f60cd9f3d5cbd9 diff --git a/trunk/arch/arm/mach-omap2/devices.c b/trunk/arch/arm/mach-omap2/devices.c index 7b8558564591..5b8ca680ed93 100644 --- a/trunk/arch/arm/mach-omap2/devices.c +++ b/trunk/arch/arm/mach-omap2/devices.c @@ -97,7 +97,7 @@ static int __init omap4_l3_init(void) WARN(IS_ERR(od), "could not build omap_device for %s\n", oh_name); - return PTR_ERR(od); + return IS_ERR(od) ? PTR_ERR(od) : 0; } postcore_initcall(omap4_l3_init);