blob: a65e9646e4b15e5312b0af9904e66ed41514cb8b [file] [log] [blame]
Luotao Fu41c42ff2009-02-11 13:24:40 -08001/*
2 * PWM LED driver data - see drivers/leds/leds-pwm.c
3 */
4#ifndef __LINUX_LEDS_PWM_H
5#define __LINUX_LEDS_PWM_H
6
7struct led_pwm {
8 const char *name;
9 const char *default_trigger;
Peter Ujfalusi9ea6cda2012-12-21 01:43:55 -080010 unsigned pwm_id __deprecated;
Luotao Fu41c42ff2009-02-11 13:24:40 -080011 u8 active_low;
12 unsigned max_brightness;
13 unsigned pwm_period_ns;
14};
15
16struct led_pwm_platform_data {
17 int num_leds;
18 struct led_pwm *leds;
19};
20
21#endif