Source-Changes-HG archive

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

[src/trunk]: src Remove an unused constant.



details:   https://anonhg.NetBSD.org/src/rev/cee3b494a1ea
branches:  trunk
changeset: 771178:cee3b494a1ea
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Sun Nov 13 16:56:15 2011 +0000

description:
Remove an unused constant.

diffstat:

 lib/lua/gpio/gpio.c |  4 +---
 sys/sys/gpio.h      |  4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diffs (36 lines):

diff -r e91ceca21dc1 -r cee3b494a1ea lib/lua/gpio/gpio.c
--- a/lib/lua/gpio/gpio.c       Sun Nov 13 16:22:18 2011 +0000
+++ b/lib/lua/gpio/gpio.c       Sun Nov 13 16:56:15 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gpio.c,v 1.5 2011/11/13 13:37:24 mbalmer Exp $ */
+/*     $NetBSD: gpio.c,v 1.6 2011/11/13 16:56:15 mbalmer Exp $ */
 
 /*
  * Copyright (c) 2011 Marc Balmer <marc%msys.ch@localhost>
@@ -247,8 +247,6 @@
        { "PIN_INVOUT",         GPIO_PIN_INVOUT },
        { "PIN_USER",           GPIO_PIN_USER },
        { "PIN_PULSATE",        GPIO_PIN_PULSATE },
-       { "PIN_INTR",           GPIO_PIN_INTR },
-       { "PIN_INTR_HIGH",      GPIO_PIN_INTR_HIGH },
        { "PIN_SET",            GPIO_PIN_SET },
        { NULL,                 0 }
 };
diff -r e91ceca21dc1 -r cee3b494a1ea sys/sys/gpio.h
--- a/sys/sys/gpio.h    Sun Nov 13 16:22:18 2011 +0000
+++ b/sys/sys/gpio.h    Sun Nov 13 16:56:15 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gpio.h,v 1.12 2011/11/13 13:20:02 mbalmer Exp $ */
+/* $NetBSD: gpio.h,v 1.13 2011/11/13 16:56:15 mbalmer Exp $ */
 /*     $OpenBSD: gpio.h,v 1.7 2008/11/26 14:51:20 mbalmer Exp $        */
 /*
  * Copyright (c) 2009, 2011 Marc Balmer <marc%msys.ch@localhost>
@@ -42,8 +42,6 @@
 #define GPIO_PIN_INVOUT                0x0200  /* invert output */
 #define GPIO_PIN_USER          0x0400  /* user != 0 can access */
 #define GPIO_PIN_PULSATE       0x0800  /* pulsate in hardware */
-#define GPIO_PIN_INTR          0x1000  /* can be as an interrupt */
-#define GPIO_PIN_INTR_HIGH     0x2000  /* interrupt leading edge high */
 #define GPIO_PIN_SET           0x8000  /* set for securelevel access */
 
 /* GPIO controller description */



Home | Main Index | Thread Index | Old Index