ramips: rename dev_gpio_leds.h to dev-gpio-leds.h
authorGabor Juhos <juhosg@openwrt.org>
Sat, 30 Jan 2010 15:25:33 +0000 (15:25 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 30 Jan 2010 15:25:33 +0000 (15:25 +0000)
SVN-Revision: 19407

target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h [new file with mode: 0644]
target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev_gpio_leds.h [deleted file]
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

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
new file mode 100644 (file)
index 0000000..1d6fbc2
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+ *  Ralink SoC GPIO LED device support
+ *
+ *  Copyright (C) 2009 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
+ *  by the Free Software Foundation.
+ */
+
+#ifndef __ASM_MACH_RALINK_DEV_GPIO_LEDS_H
+#define __ASM_MACH_RALINK_DEV_GPIO_LEDS_H
+
+struct gpio_led;
+
+#ifdef CONFIG_RALINK_DEV_GPIO_LEDS
+__init void ramips_register_gpio_leds(int id, unsigned num_leds,
+                                     struct gpio_led *leds);
+#else
+static inline void ramips_register_gpio_leds(int id, unsigned num_leds,
+                                            struct gpio_led *leds)
+{
+}
+#endif
+
+#endif /* __ASM_MACH_RALINK_DEV_GPIO_LEDS_H */
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
deleted file mode 100644 (file)
index 1d6fbc2..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- *  Ralink SoC GPIO LED device support
- *
- *  Copyright (C) 2009 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
- *  by the Free Software Foundation.
- */
-
-#ifndef __ASM_MACH_RALINK_DEV_GPIO_LEDS_H
-#define __ASM_MACH_RALINK_DEV_GPIO_LEDS_H
-
-struct gpio_led;
-
-#ifdef CONFIG_RALINK_DEV_GPIO_LEDS
-__init void ramips_register_gpio_leds(int id, unsigned num_leds,
-                                     struct gpio_led *leds);
-#else
-static inline void ramips_register_gpio_leds(int id, unsigned num_leds,
-                                            struct gpio_led *leds)
-{
-}
-#endif
-
-#endif /* __ASM_MACH_RALINK_DEV_GPIO_LEDS_H */
index 96651e7b9a25a6a659685d5bdbf6e5dd5ef7139f..f7db19a804c34eca2a7440e2020b2adf3a769dc0 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/platform_device.h>
 #include <linux/leds.h>
 
-#include <asm/mach-ralink/dev_gpio_leds.h>
+#include <asm/mach-ralink/dev-gpio-leds.h>
 
 void __init ramips_register_gpio_leds(int id, unsigned num_leds,
                                      struct gpio_led *leds)
index af578c04dd7a832356ecf0257396a0c30e65fc68..f2905eb963b146fad2176412fd27a4afc312eec5 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <asm/mach-ralink/machine.h>
 #include <asm/mach-ralink/dev-gpio-buttons.h>
-#include <asm/mach-ralink/dev_gpio_leds.h>
+#include <asm/mach-ralink/dev-gpio-leds.h>
 #include <asm/mach-ralink/rt288x.h>
 #include <asm/mach-ralink/rt288x_regs.h>
 
index 93d28a5b2a62e0207c9f6d57d9f9c86301af1bce..f794e30437af8ee6e40bdb732d8295098dfc475e 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/leds.h>
 
 #include <asm/mach-ralink/machine.h>
-#include <asm/mach-ralink/dev_gpio_leds.h>
+#include <asm/mach-ralink/dev-gpio-leds.h>
 #include <asm/mach-ralink/rt305x.h>
 #include <asm/mach-ralink/rt305x_regs.h>
 
index e2cc627c54813dafd011e501ef945475b947d45d..d3a68db12ba06c5ce8c1e504138384706b6ff140 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/leds.h>
 
 #include <asm/mach-ralink/machine.h>
-#include <asm/mach-ralink/dev_gpio_leds.h>
+#include <asm/mach-ralink/dev-gpio-leds.h>
 #include <asm/mach-ralink/rt305x.h>
 #include <asm/mach-ralink/rt305x_regs.h>
 
index f819d2b60a3f7747088f832f7e8bb9d33bbe2e2f..655eab602c790eac1b9b514bb9680513198781f1 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/leds.h>
 
 #include <asm/mach-ralink/machine.h>
-#include <asm/mach-ralink/dev_gpio_leds.h>
+#include <asm/mach-ralink/dev-gpio-leds.h>
 #include <asm/mach-ralink/rt305x.h>
 #include <asm/mach-ralink/rt305x_regs.h>
 
index 34785d9f1ee6713153968375dedff83b690c1cd3..829343c896ea13660038c4b927323435af754e1c 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/leds.h>
 
 #include <asm/mach-ralink/machine.h>
-#include <asm/mach-ralink/dev_gpio_leds.h>
+#include <asm/mach-ralink/dev-gpio-leds.h>
 #include <asm/mach-ralink/rt305x.h>
 #include <asm/mach-ralink/rt305x_regs.h>