From: balbi@ti.com (Felipe Balbi) Date: Tue, 7 Dec 2010 14:13:09 +0200 Subject: [PATCH] arm: plat-omap: counter_32k: Fix build error due to IS_ERR In-Reply-To: <1291723777-27316-1-git-send-email-sourav.poddar@ti.com> References: <1291723777-27316-1-git-send-email-sourav.poddar@ti.com> Message-ID: <20101207121309.GF2576@legolas.emea.dhcp.ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 >Reviewed-by: Charulatha V >Acked-by: Felipe Balbi 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