Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / leds_pwm.h
blob93d101d28943f1659fb1f328f7c16bc6c5566b7b
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * PWM LED driver data - see drivers/leds/leds-pwm.c
4 */
5 #ifndef __LINUX_LEDS_PWM_H
6 #define __LINUX_LEDS_PWM_H
8 struct led_pwm {
9 const char *name;
10 const char *default_trigger;
11 unsigned pwm_id __deprecated;
12 u8 active_low;
13 unsigned max_brightness;
14 unsigned pwm_period_ns;
17 struct led_pwm_platform_data {
18 int num_leds;
19 struct led_pwm *leds;
22 #endif