Stop including a possibly GPLd header from the GPIO code. Add the only

needed macro to ofw_gpiobus.c.

Reported by:	emaste
Sponsored by:	DARPA, AFRL
This commit is contained in:
Andrew Turner 2016-10-26 12:41:44 +00:00
parent 2eb8079722
commit 1fb2428f1c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307962
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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 *);