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 2016-10-26 12:41:44 +00:00
parent c825d2846d
commit d9148c6347
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 *);