Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2014 14:09:48 +0000 (UTC)
From:      Luiz Otavio O Souza <loos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r265191 - head/sys/dev/gpio
Message-ID:  <201405011409.s41E9mun075016@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: loos
Date: Thu May  1 14:09:47 2014
New Revision: 265191
URL: http://svnweb.freebsd.org/changeset/base/265191

Log:
  Remove unnecessary headers.  Sort out the headers.  Add a missing header on
  ofw_gpiobus.c (it was working because of sys/libkern.h).

Modified:
  head/sys/dev/gpio/gpiobus.c
  head/sys/dev/gpio/ofw_gpiobus.c

Modified: head/sys/dev/gpio/gpiobus.c
==============================================================================
--- head/sys/dev/gpio/gpiobus.c	Thu May  1 14:08:19 2014	(r265190)
+++ head/sys/dev/gpio/gpiobus.c	Thu May  1 14:09:47 2014	(r265191)
@@ -28,21 +28,16 @@
 __FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
-#include <sys/systm.h>
+#include <sys/bus.h>
+#include <sys/gpio.h>
+#include <sys/kernel.h>
 #include <sys/malloc.h>
 #include <sys/module.h>
-#include <sys/kernel.h>
-#include <sys/queue.h>
-#include <sys/sysctl.h>
+#include <sys/systm.h>
 #include <sys/types.h>
 
-#include <sys/bus.h>
-#include <machine/bus.h>
-#include <sys/rman.h>
-#include <machine/resource.h>
-
-#include <sys/gpio.h>
 #include <dev/gpio/gpiobusvar.h>
+
 #include "gpio_if.h"
 #include "gpiobus_if.h"
 

Modified: head/sys/dev/gpio/ofw_gpiobus.c
==============================================================================
--- head/sys/dev/gpio/ofw_gpiobus.c	Thu May  1 14:08:19 2014	(r265190)
+++ head/sys/dev/gpio/ofw_gpiobus.c	Thu May  1 14:09:47 2014	(r265191)
@@ -33,17 +33,13 @@ __FBSDID("$FreeBSD$");
 #include <sys/bus.h>
 #include <sys/gpio.h>
 #include <sys/kernel.h>
-#include <sys/libkern.h>
-#include <sys/lock.h>
 #include <sys/module.h>
-#include <sys/mutex.h>
+#include <sys/systm.h>
 
 #include <dev/gpio/gpiobusvar.h>
 #include <dev/ofw/ofw_bus.h>
 #include <dev/ofw/openfirm.h>
 
-#include <machine/resource.h>
-
 #include "gpio_if.h"
 #include "gpiobus_if.h"
 



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