diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-01-30 15:25:36 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-01-30 15:25:36 +0000 |
commit | 8448caa6ada65c6a6301e0631b88ffe51c4f66d9 (patch) | |
tree | 86b7f24e4b2ffd81d851ddcc4252585c19618309 /target/linux/ramips/files | |
parent | 94c9590e9187a2e9a66613a675ad4e3c2f130038 (diff) | |
download | mtk-20170518-8448caa6ada65c6a6301e0631b88ffe51c4f66d9.zip mtk-20170518-8448caa6ada65c6a6301e0631b88ffe51c4f66d9.tar.gz mtk-20170518-8448caa6ada65c6a6301e0631b88ffe51c4f66d9.tar.bz2 |
ramips: include 'linux/leds.h' from 'dev-gpio-leds.h'
SVN-Revision: 19408
Diffstat (limited to 'target/linux/ramips/files')
7 files changed, 2 insertions, 8 deletions
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 1d6fbc2..ad2ed26 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 <juhosg@openwrt.org> + * Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org> * * 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 <linux/leds.h> #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 f7db19a..2ab187d 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 <linux/init.h> #include <linux/platform_device.h> -#include <linux/leds.h> #include <asm/mach-ralink/dev-gpio-leds.h> 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 f2905eb..d6bebf4 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 <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> #include <linux/mtd/physmap.h> -#include <linux/leds.h> #include <linux/rtl8366s.h> #include <asm/mach-ralink/machine.h> 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 f794e30..7acd113 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 <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> #include <linux/mtd/physmap.h> -#include <linux/leds.h> #include <asm/mach-ralink/machine.h> #include <asm/mach-ralink/dev-gpio-leds.h> 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 d3a68db..8b81889 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 <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> #include <linux/mtd/physmap.h> -#include <linux/leds.h> #include <asm/mach-ralink/machine.h> #include <asm/mach-ralink/dev-gpio-leds.h> 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 655eab6..043d08b 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 <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> #include <linux/mtd/physmap.h> -#include <linux/leds.h> #include <asm/mach-ralink/machine.h> #include <asm/mach-ralink/dev-gpio-leds.h> 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 829343c..9eccbeb 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 <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> #include <linux/mtd/physmap.h> -#include <linux/leds.h> #include <asm/mach-ralink/machine.h> #include <asm/mach-ralink/dev-gpio-leds.h> |