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:
parent
c825d2846d
commit
d9148c6347
@ -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
|
||||
|
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user