From c3c21339559e6f7b44038b2cc7ccb189fdf0cf7c Mon Sep 17 00:00:00 2001 From: kiyohara Date: Sat, 28 Aug 2010 07:06:29 +0000 Subject: [PATCH] Fix build failed. omap2_intr.h includes, if defined OMAP3530. --- sys/arch/evbarm/gumstix/gxio.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys/arch/evbarm/gumstix/gxio.c b/sys/arch/evbarm/gumstix/gxio.c index 0f58d64b3096..67a72c15e141 100644 --- a/sys/arch/evbarm/gumstix/gxio.c +++ b/sys/arch/evbarm/gumstix/gxio.c @@ -1,4 +1,4 @@ -/* $NetBSD: gxio.c,v 1.16 2010/08/28 04:39:42 kiyohara Exp $ */ +/* $NetBSD: gxio.c,v 1.17 2010/08/28 07:06:29 kiyohara Exp $ */ /* * Copyright (C) 2005, 2006, 2007 WIDE Project and SOUM Corporation. * All rights reserved. @@ -31,11 +31,14 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: gxio.c,v 1.16 2010/08/28 04:39:42 kiyohara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: gxio.c,v 1.17 2010/08/28 07:06:29 kiyohara Exp $"); #include "opt_cputypes.h" #include "opt_gumstix.h" #include "opt_gxio.h" +#if defined(OVERO) +#include "opt_omap.h" +#endif #include #include @@ -48,7 +51,9 @@ __KERNEL_RCSID(0, "$NetBSD: gxio.c,v 1.16 2010/08/28 04:39:42 kiyohara Exp $"); #include #include +#if defined(OMAP3530) #include +#endif #include #if defined(CPU_XSCALE_PXA270) || defined(CPU_XSCALE_PXA250) #include