diff options
| author | Andrew Turner <andrew@FreeBSD.org> | 2016-10-26 12:41:44 +0000 |
|---|---|---|
| committer | Andrew Turner <andrew@FreeBSD.org> | 2016-10-26 12:41:44 +0000 |
| commit | 1fb2428f1c3d68fabf73b661d82e8f998adf46d0 (patch) | |
| tree | d62cf5bc41bed0d404db13dd50bdc738cb884325 /sys/dev | |
| parent | 2eb8079722516c37c1e8d9f2a75c38d33f966959 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/gpio/gpiobusvar.h | 1 | ||||
| -rw-r--r-- | sys/dev/gpio/ofw_gpiobus.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/gpio/gpiobusvar.h b/sys/dev/gpio/gpiobusvar.h index 4717bf3fa32e..b6fb44cf5866 100644 --- a/sys/dev/gpio/gpiobusvar.h +++ b/sys/dev/gpio/gpiobusvar.h @@ -38,7 +38,6 @@ #ifdef FDT #include <dev/ofw/ofw_bus_subr.h> -#include <gnu/dts/include/dt-bindings/gpio/gpio.h> #endif #ifdef INTRNG diff --git a/sys/dev/gpio/ofw_gpiobus.c b/sys/dev/gpio/ofw_gpiobus.c index 96775dc0eb00..f8fcbea95078 100644 --- a/sys/dev/gpio/ofw_gpiobus.c +++ b/sys/dev/gpio/ofw_gpiobus.c @@ -41,6 +41,8 @@ __FBSDID("$FreeBSD$"); #include "gpiobus_if.h" +#define GPIO_ACTIVE_LOW 1 + static struct ofw_gpiobus_devinfo *ofw_gpiobus_setup_devinfo(device_t, device_t, phandle_t); static void ofw_gpiobus_destroy_devinfo(device_t, struct ofw_gpiobus_devinfo *); |
