Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/allwinner ist_maps is only used by code in #if ...



details:   https://anonhg.NetBSD.org/src/rev/aafbfce79aed
branches:  trunk
changeset: 792087:aafbfce79aed
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Dec 19 22:13:38 2013 +0000

description:
ist_maps is only used by code in #if 0, so apply it here as well.

diffstat:

 sys/arch/arm/allwinner/awin_gpio.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 19597a32deaf -r aafbfce79aed sys/arch/arm/allwinner/awin_gpio.c
--- a/sys/arch/arm/allwinner/awin_gpio.c        Thu Dec 19 22:10:03 2013 +0000
+++ b/sys/arch/arm/allwinner/awin_gpio.c        Thu Dec 19 22:13:38 2013 +0000
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: awin_gpio.c,v 1.6 2013/09/08 00:55:25 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_gpio.c,v 1.7 2013/12/19 22:13:38 joerg Exp $");
 
 #include <sys/bus.h>
 #include <sys/device.h>
@@ -54,6 +54,7 @@
 static void awin_gpio_pin_write(void *, int, int);
 static void awin_gpio_pin_ctl(void *, int, int);
 
+#if 0
 static const int ist_maps[] = {
        [IST_LEVEL_LOW] =       AWIN_PIO_EINT_LOW_LEVEL,
        [IST_LEVEL_HIGH] =      AWIN_PIO_EINT_HIGH_LEVEL,
@@ -61,6 +62,7 @@
        [IST_EDGE_RISING] =     AWIN_PIO_EINT_NEGATIVE_EDGE,
        [IST_EDGE_BOTH] =       AWIN_PIO_EINT_DOUBLE_EDGE,
 };
+#endif
 
 struct awin_gpio_pin_cfg {
        uint32_t cfg[4];



Home | Main Index | Thread Index | Old Index