Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
leds_pwm.h
Go to the documentation of this file.
1 /*
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 
7 struct led_pwm {
8  const char *name;
9  const char *default_trigger;
10  unsigned pwm_id;
12  unsigned max_brightness;
13  unsigned pwm_period_ns;
14 };
15 
17  int num_leds;
18  struct led_pwm *leds;
19 };
20 
21 #endif