Remove unnecessary headers. Sort out the headers. Add a missing header on

ofw_gpiobus.c (it was working because of sys/libkern.h).
This commit is contained in:
Luiz Otavio O Souza 2014-05-01 14:09:47 +00:00
parent 18cb3a015d
commit 160ca719c3
2 changed files with 6 additions and 15 deletions

View File

@ -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"

View File

@ -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"