Remove an unused constant.
This commit is contained in:
parent
eeb50b3333
commit
afd38e42d9
@ -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>
|
||||
@ -247,8 +247,6 @@ static const struct constant gpio_constant[] = {
|
||||
{ "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 }
|
||||
};
|
||||
|
@ -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>
|
||||
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user