Date: Sat, 1 Nov 2014 10:40:29 +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: r273926 - head/sys/dev/gpio Message-ID: <201411011040.sA1AeT2Z050014@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: loos Date: Sat Nov 1 10:40:29 2014 New Revision: 273926 URL: https://svnweb.freebsd.org/changeset/base/273926 Log: Fix the build of non-FDT systems by moving the gpiobusvar.h header outside the FDT #ifdef. While here remove a few unused headers. Modified: head/sys/dev/gpio/gpioled.c Modified: head/sys/dev/gpio/gpioled.c ============================================================================== --- head/sys/dev/gpio/gpioled.c Sat Nov 1 10:35:45 2014 (r273925) +++ head/sys/dev/gpio/gpioled.c Sat Nov 1 10:40:29 2014 (r273926) @@ -31,11 +31,9 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> -#include <sys/bio.h> #include <sys/bus.h> -#include <sys/conf.h> +#include <sys/gpio.h> #include <sys/kernel.h> -#include <sys/kthread.h> #include <sys/lock.h> #include <sys/malloc.h> #include <sys/module.h> @@ -43,12 +41,12 @@ __FBSDID("$FreeBSD$"); #ifdef FDT #include <dev/fdt/fdt_common.h> -#include <dev/gpio/gpiobusvar.h> #include <dev/ofw/ofw_bus.h> #endif +#include <dev/gpio/gpiobusvar.h> #include <dev/led/led.h> -#include <sys/gpio.h> + #include "gpiobus_if.h" /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411011040.sA1AeT2Z050014>