From patchwork Mon Jan 28 12:55:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: ARM: OMAP: hwmod_reset: Include errno.h to fix compilation error X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 216183 Message-Id: <1359377743-30663-1-git-send-email-peter.ujfalusi@ti.com> To: Tony Lindgren , Paul Walmsley Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sebastien Guiriec Date: Mon, 28 Jan 2013 13:55:43 +0100 From: Peter Ujfalusi List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Without the errno.h: CC arch/arm/mach-omap2/omap_hwmod_reset.o arch/arm/mach-omap2/omap_hwmod_reset.c: In function ‘omap_hwmod_aess_preprogram’: arch/arm/mach-omap2/omap_hwmod_reset.c:47:11: error: ‘EINVAL’ undeclared (first use in this function) arch/arm/mach-omap2/omap_hwmod_reset.c:47:11: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [arch/arm/mach-omap2/omap_hwmod_reset.o] Error 1 Signed-off-by: Peter Ujfalusi --- Hi Paul, I could not find the patches from Sebastien's series: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg82971.html But AFAIK you have taken them for 3.9. This patch is on top of it to fix compilation error. Regards, Peter arch/arm/mach-omap2/omap_hwmod_reset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_reset.c b/arch/arm/mach-omap2/omap_hwmod_reset.c index bba43fa..65e186c 100644 --- a/arch/arm/mach-omap2/omap_hwmod_reset.c +++ b/arch/arm/mach-omap2/omap_hwmod_reset.c @@ -24,6 +24,7 @@ * 02110-1301 USA */ #include +#include #include