Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/gumstix fix compile error (unused variables)
details: https://anonhg.NetBSD.org/src/rev/5649e6104cad
branches: trunk
changeset: 321358:5649e6104cad
user: ryo <ryo%NetBSD.org@localhost>
date: Tue Mar 13 06:19:30 2018 +0000
description:
fix compile error (unused variables)
diffstat:
sys/arch/evbarm/gumstix/gxio.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r 6790b3084dcf -r 5649e6104cad sys/arch/evbarm/gumstix/gxio.c
--- a/sys/arch/evbarm/gumstix/gxio.c Tue Mar 13 06:18:47 2018 +0000
+++ b/sys/arch/evbarm/gumstix/gxio.c Tue Mar 13 06:19:30 2018 +0000
@@ -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 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 @@
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*/
Home |
Main Index |
Thread Index |
Old Index