aboutsummaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorMagnus Damm <[email protected]>2011-10-31 17:12:09 -0700
committerLinus Torvalds <[email protected]>2011-10-31 17:30:55 -0700
commit2b67c95b74f17c13c7b3a990540c9dd9b4a8480d (patch)
tree59ff1e40de9d9540104b57b6e54cbf19f0357a62 /include/linux/platform_data
parent02c3294174e170a47cfd58956a739901160381a8 (diff)
drivers/leds/leds-renesas-tpu.c: move Renesas TPU LED driver platform data
Use the platform_data include directory for the TPU LED driver, as suggested by Paul Mundt. Signed-off-by: Magnus Damm <[email protected]> Cc: Paul Mundt <[email protected]> Cc: Richard Purdie <[email protected]> Cc: Grant Likely <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/leds-renesas-tpu.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/platform_data/leds-renesas-tpu.h b/include/linux/platform_data/leds-renesas-tpu.h
new file mode 100644
index 000000000000..055387086fc1
--- /dev/null
+++ b/include/linux/platform_data/leds-renesas-tpu.h
@@ -0,0 +1,14 @@
+#ifndef __LEDS_RENESAS_TPU_H__
+#define __LEDS_RENESAS_TPU_H__
+
+struct led_renesas_tpu_config {
+ char *name;
+ unsigned pin_gpio_fn;
+ unsigned pin_gpio;
+ unsigned int channel_offset;
+ unsigned int timer_bit;
+ unsigned int max_brightness;
+ unsigned int refresh_rate;
+};
+
+#endif /* __LEDS_RENESAS_TPU_H__ */