repo.or.cz
/
cris-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc
[cris-mirror.git]
/
include
/
linux
/
leds_pwm.h
blob
33a07116748910599016e6ab9f94186711ed49c4
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
;
11
u8 active_low
;
12
unsigned
max_brightness
;
13
unsigned
pwm_period_ns
;
14
};
15
16
struct
led_pwm_platform_data
{
17
int
num_leds
;
18
struct
led_pwm
*
leds
;
19
};
20
21
#endif