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 <damm@opensource.se> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
02c3294174
commit
2b67c95b74
14
include/linux/platform_data/leds-renesas-tpu.h
Normal file
14
include/linux/platform_data/leds-renesas-tpu.h
Normal file
@@ -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__ */
|
Reference in New Issue
Block a user