[PATCH] arm: plat-omap: counter_32k: Fix build error due to IS_ERR

Felipe Balbi balbi at ti.com
Tue Dec 7 07:13:09 EST 2010


On Tue, Dec 07, 2010 at 05:39:37PM +0530, Sourav Poddar wrote:
>Fix the following build error by including linux/err.h
>arch/arm/plat-omap/counter_32k.c: In function 'omap_init_clocksource_32k':
>arch/arm/plat-omap/counter_32k.c:167: error: implicit declaration of
>                                      function 'IS_ERR'
>
>The above error is due to the following commit:
>subject: arm: plat-omap: counter_32k: use IS_ERR() instead of NULL check
>commit: 235fbace0334c846c21e902f330020122fc85955
>
>Created on linux-omap-2.6 branch: omap-fixes
>
>Signed-off-by: Sourav Poddar <sourav.poddar at ti.com>
>Reviewed-by: Charulatha V <charu at ti.com>
>Acked-by: Felipe Balbi <balbi at ti.com>

BTW, since this isn't in mainline yet, Tony you might want to fold into
the orignal patch and just a note that Sourav has updated the commit to
fix a compile error together with SOB ??

-- 
balbi



More information about the linux-arm-kernel mailing list