From owner-svn-src-all@freebsd.org Wed Oct 26 12:41:45 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83D2DC22646; Wed, 26 Oct 2016 12:41:45 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55E678B2; Wed, 26 Oct 2016 12:41:45 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9QCfiLI023720; Wed, 26 Oct 2016 12:41:44 GMT (envelope-from andrew@FreeBSD.org) Received: (from andrew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9QCfiAr023718; Wed, 26 Oct 2016 12:41:44 GMT (envelope-from andrew@FreeBSD.org) Message-Id: <201610261241.u9QCfiAr023718@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: andrew set sender to andrew@FreeBSD.org using -f From: Andrew Turner Date: Wed, 26 Oct 2016 12:41:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r307962 - head/sys/dev/gpio X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2016 12:41:45 -0000 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 -#include #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 *);