From: Gabor Juhos Date: Sat, 30 Jan 2010 15:25:36 +0000 (+0000) Subject: ramips: include 'linux/leds.h' from 'dev-gpio-leds.h' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8448caa6ada65c6a6301e0631b88ffe51c4f66d9;p=openwrt%2Fstaging%2Fdangole.git ramips: include 'linux/leds.h' from 'dev-gpio-leds.h' SVN-Revision: 19408 --- diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h index 1d6fbc29d9..ad2ed2667b 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h @@ -1,7 +1,7 @@ /* * Ralink SoC GPIO LED device support * - * Copyright (C) 2009 Gabor Juhos + * Copyright (C) 2009-2010 Gabor Juhos * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published @@ -11,7 +11,7 @@ #ifndef __ASM_MACH_RALINK_DEV_GPIO_LEDS_H #define __ASM_MACH_RALINK_DEV_GPIO_LEDS_H -struct gpio_led; +#include #ifdef CONFIG_RALINK_DEV_GPIO_LEDS __init void ramips_register_gpio_leds(int id, unsigned num_leds, diff --git a/target/linux/ramips/files/arch/mips/ralink/common/dev-gpio-leds.c b/target/linux/ramips/files/arch/mips/ralink/common/dev-gpio-leds.c index f7db19a804..2ab187d152 100644 --- a/target/linux/ramips/files/arch/mips/ralink/common/dev-gpio-leds.c +++ b/target/linux/ramips/files/arch/mips/ralink/common/dev-gpio-leds.c @@ -10,7 +10,6 @@ #include #include -#include #include diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c index f2905eb963..d6bebf494a 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c index f794e30437..7acd1135e4 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c index d3a68db12b..8b818894b6 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c index 655eab602c..043d08b9e1 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c index 829343c896..9eccbebb39 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include