diff --git a/lib/lua/gpio/gpio.c b/lib/lua/gpio/gpio.c index 8f3b6dc3f96f..4457d3ec4ca7 100644 --- a/lib/lua/gpio/gpio.c +++ b/lib/lua/gpio/gpio.c @@ -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 @@ -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 } }; diff --git a/sys/sys/gpio.h b/sys/sys/gpio.h index 48adb2556827..f3d428dcebec 100644 --- a/sys/sys/gpio.h +++ b/sys/sys/gpio.h @@ -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 @@ -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 */