From owner-svn-src-head@FreeBSD.ORG Sat May 3 20:33:01 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1CA08166; Sat, 3 May 2014 20:33:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 E5317130D; Sat, 3 May 2014 20:33:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s43KX01A056958; Sat, 3 May 2014 20:33:00 GMT (envelope-from loos@svn.freebsd.org) Received: (from loos@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s43KX0Jl056950; Sat, 3 May 2014 20:33:00 GMT (envelope-from loos@svn.freebsd.org) Message-Id: <201405032033.s43KX0Jl056950@svn.freebsd.org> From: Luiz Otavio O Souza Date: Sat, 3 May 2014 20:33:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r265289 - 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-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2014 20:33:01 -0000 Author: loos Date: Sat May 3 20:33:00 2014 New Revision: 265289 URL: http://svnweb.freebsd.org/changeset/base/265289 Log: Really sort out the headers. sys/systm.h must always come after sys/param.h. Remove sys/types.h which should never be included together with sys/param.h. Add sys/malloc.h for correctness even if it seems to don't be needed. Remove more unused headers found by unusedinc (from bde@) and tested with a universe build. Reported by: bde Modified: head/sys/dev/gpio/gpiobus.c head/sys/dev/gpio/gpiobusvar.h head/sys/dev/gpio/ofw_gpiobus.c Modified: head/sys/dev/gpio/gpiobus.c ============================================================================== --- head/sys/dev/gpio/gpiobus.c Sat May 3 20:22:13 2014 (r265288) +++ head/sys/dev/gpio/gpiobus.c Sat May 3 20:33:00 2014 (r265289) @@ -28,13 +28,11 @@ __FBSDID("$FreeBSD$"); #include +#include #include -#include #include #include #include -#include -#include #include Modified: head/sys/dev/gpio/gpiobusvar.h ============================================================================== --- head/sys/dev/gpio/gpiobusvar.h Sat May 3 20:22:13 2014 (r265288) +++ head/sys/dev/gpio/gpiobusvar.h Sat May 3 20:33:00 2014 (r265289) @@ -32,7 +32,6 @@ #include "opt_platform.h" -#include #include #include Modified: head/sys/dev/gpio/ofw_gpiobus.c ============================================================================== --- head/sys/dev/gpio/ofw_gpiobus.c Sat May 3 20:22:13 2014 (r265288) +++ head/sys/dev/gpio/ofw_gpiobus.c Sat May 3 20:33:00 2014 (r265289) @@ -30,18 +30,16 @@ __FBSDID("$FreeBSD$"); #include +#include #include -#include #include +#include #include -#include #include #include -#include #include "gpio_if.h" -#include "gpiobus_if.h" static int ofw_gpiobus_parse_gpios(struct gpiobus_softc *, struct gpiobus_ivar *, phandle_t);