aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-30 15:25:36 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-30 15:25:36 +0000
commit8448caa6ada65c6a6301e0631b88ffe51c4f66d9 (patch)
tree86b7f24e4b2ffd81d851ddcc4252585c19618309 /target/linux/ramips
parent94c9590e9187a2e9a66613a675ad4e3c2f130038 (diff)
downloadupstream-8448caa6ada65c6a6301e0631b88ffe51c4f66d9.tar.gz
upstream-8448caa6ada65c6a6301e0631b88ffe51c4f66d9.tar.bz2
upstream-8448caa6ada65c6a6301e0631b88ffe51c4f66d9.zip
ramips: include 'linux/leds.h' from 'dev-gpio-leds.h'
SVN-Revision: 19408
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h4
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/common/dev-gpio-leds.c1
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c1
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c1
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c1
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c1
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c1
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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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>