From ac199ca1c42757a3bfc699faf11c8e2e0f569e04 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 30 Jan 2010 15:25:36 +0000 Subject: ramips: include 'linux/leds.h' from 'dev-gpio-leds.h' git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19408 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h | 4 ++-- target/linux/ramips/files/arch/mips/ralink/common/dev-gpio-leds.c | 1 - target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c | 1 - target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c | 1 - target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c | 1 - target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c | 1 - target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c | 1 - 7 files changed, 2 insertions(+), 8 deletions(-) (limited to 'target/linux/ramips/files/arch/mips') 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 1d6fbc29d..ad2ed2667 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 f7db19a80..2ab187d15 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 f2905eb96..d6bebf494 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 f794e3043..7acd1135e 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 d3a68db12..8b818894b 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 655eab602..043d08b9e 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 829343c89..9eccbebb3 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 -- cgit v1.2.3