Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2016 12:41:44 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307962 - head/sys/dev/gpio
Message-ID:  <201610261241.u9QCfiAr023718@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Wed Oct 26 12:41:44 2016
New Revision: 307962
URL: https://svnweb.freebsd.org/changeset/base/307962

Log:
  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

Modified:
  head/sys/dev/gpio/gpiobusvar.h
  head/sys/dev/gpio/ofw_gpiobus.c

Modified: head/sys/dev/gpio/gpiobusvar.h
==============================================================================
--- head/sys/dev/gpio/gpiobusvar.h	Wed Oct 26 12:30:53 2016	(r307961)
+++ head/sys/dev/gpio/gpiobusvar.h	Wed Oct 26 12:41:44 2016	(r307962)
@@ -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

Modified: head/sys/dev/gpio/ofw_gpiobus.c
==============================================================================
--- head/sys/dev/gpio/ofw_gpiobus.c	Wed Oct 26 12:30:53 2016	(r307961)
+++ head/sys/dev/gpio/ofw_gpiobus.c	Wed Oct 26 12:41:44 2016	(r307962)
@@ -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 *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610261241.u9QCfiAr023718>