Module Name: src
Committed By: kiyohara
Date: Sat Aug 28 07:06:29 UTC 2010
Modified Files:
src/sys/arch/evbarm/gumstix: gxio.c
Log Message:
Fix build failed. omap2_intr.h includes, if defined OMAP3530.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/evbarm/gumstix/gxio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbarm/gumstix/gxio.c
diff -u src/sys/arch/evbarm/gumstix/gxio.c:1.16 src/sys/arch/evbarm/gumstix/gxio.c:1.17
--- src/sys/arch/evbarm/gumstix/gxio.c:1.16 Sat Aug 28 04:39:42 2010
+++ src/sys/arch/evbarm/gumstix/gxio.c Sat Aug 28 07:06:29 2010
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/device.h>
@@ -48,7 +51,9 @@
#include <arm/omap/omap2_gpmcreg.h>
#include <arm/omap/omap2_reg.h>
+#if defined(OMAP3530)
#include <arm/omap/omap2_intr.h>
+#endif
#include <arm/omap/omap_var.h>
#if defined(CPU_XSCALE_PXA270) || defined(CPU_XSCALE_PXA250)
#include <arm/xscale/pxa2x0cpu.h>