Module Name: src
Committed By: ryo
Date: Tue Mar 13 06:19:30 UTC 2018
Modified Files:
src/sys/arch/evbarm/gumstix: gxio.c
Log Message:
fix compile error (unused variables)
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 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.25 src/sys/arch/evbarm/gumstix/gxio.c:1.26
--- src/sys/arch/evbarm/gumstix/gxio.c:1.25 Sun Jan 22 17:19:32 2017
+++ src/sys/arch/evbarm/gumstix/gxio.c Tue Mar 13 06:19:30 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: gxio.c,v 1.25 2017/01/22 17:19:32 christos Exp $ */
+/* $NetBSD: gxio.c,v 1.26 2018/03/13 06:19:30 ryo Exp $ */
/*
* Copyright (C) 2005, 2006, 2007 WIDE Project and SOUM Corporation.
* All rights reserved.
@@ -31,7 +31,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gxio.c,v 1.25 2017/01/22 17:19:32 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gxio.c,v 1.26 2018/03/13 06:19:30 ryo Exp $");
#include "opt_cputypes.h"
#include "opt_gumstix.h"
@@ -241,11 +241,14 @@ static int gxio_omap_mux_config_address(
static void gxio_omap_gpio_config(const struct omap_gpio_conf[]);
void gxio_omap_gpio_write(int, int);
+#if defined(OVERO)
static const struct omap_mux_conf overo_mux_i2c3_conf[] = {
{ 0x1c2, MUXMODE(0) | INPUTENABLE }, /* i2c3_scl */
{ 0x1c4, MUXMODE(0) | INPUTENABLE }, /* i2c3_sda */
{ -1 }
};
+#endif
+#if defined(OVERO)
static const struct omap_mux_conf overo_mux_mmchs2_conf[] = {
{ 0x158, /* mmc2_clk */
MUXMODE(0) | PULLUDENABLE | PULLTYPESELECT | INPUTENABLE },
@@ -261,6 +264,7 @@ static const struct omap_mux_conf overo_
MUXMODE(0) | PULLUDENABLE | PULLTYPESELECT | INPUTENABLE },
{ -1 }
};
+#endif
#if defined(OVERO)
static const struct omap_mux_conf overo_mux_wireless_conf[] = {
{ 0x0b4, MUXMODE(4) }, /* gpio_54:BT_nPOWERON*/