ramips: include 'linux/leds.h' from 'dev-gpio-leds.h'
authorGabor Juhos <juhosg@openwrt.org>
Sat, 30 Jan 2010 15:25:36 +0000 (15:25 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 30 Jan 2010 15:25:36 +0000 (15:25 +0000)
SVN-Revision: 19408

target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h
target/linux/ramips/files/arch/mips/ralink/common/dev-gpio-leds.c
target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c
target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c
target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c
target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c

index 1d6fbc29d964e7d8c87eb6ed087efd76444bb6a3..ad2ed2667b12bac431bda5b2418aa50c2151c5bc 100644 (file)
@@ -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,
index f7db19a804c34eca2a7440e2020b2adf3a769dc0..2ab187d152be6cbc939994fe15791c2a002547d7 100644 (file)
@@ -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>
 
index f2905eb963b146fad2176412fd27a4afc312eec5..d6bebf494ade15890cd773fd2b83966aea9b54f1 100644 (file)
@@ -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>
index f794e30437af8ee6e40bdb732d8295098dfc475e..7acd1135e4639fa9ace283c7e4091c96660aa6e9 100644 (file)
@@ -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>
index d3a68db12ba06c5ce8c1e504138384706b6ff140..8b818894b6e10803f77bebc4d230ece516af3da7 100644 (file)
@@ -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>
index 655eab602c790eac1b9b514bb9680513198781f1..043d08b9e17ea0ff79f5645fad8ace173de32719 100644 (file)
@@ -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>
index 829343c896ea13660038c4b927323435af754e1c..9eccbebb397edfbdbcd40b8624d93514272485b6 100644 (file)
@@ -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>