diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-05-19 16:42:37 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2014-05-21 05:19:36 -0400 |
commit | 4284402924cc55e182008ca7e9d4fb1e891ff5ae (patch) | |
tree | 33ea885d12a999eeb5412affcaccfe97919c0260 /Documentation/pwm.txt | |
parent | fcb355063ffb12a834b3ca1383c9beec9285d568 (diff) |
pwm: modify PWM_LOOKUP to initialize all struct pwm_lookup members
Now that PWM_LOOKUP is not used anymore, modify it to initialize all the
members of struct pwm_lookup.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Documentation/pwm.txt')
-rw-r--r-- | Documentation/pwm.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/pwm.txt b/Documentation/pwm.txt index 0527f615b115..ca895fd211e4 100644 --- a/Documentation/pwm.txt +++ b/Documentation/pwm.txt | |||
@@ -19,7 +19,8 @@ should instead register a static mapping that can be used to match PWM | |||
19 | consumers to providers, as given in the following example: | 19 | consumers to providers, as given in the following example: |
20 | 20 | ||
21 | static struct pwm_lookup board_pwm_lookup[] = { | 21 | static struct pwm_lookup board_pwm_lookup[] = { |
22 | PWM_LOOKUP("tegra-pwm", 0, "pwm-backlight", NULL), | 22 | PWM_LOOKUP("tegra-pwm", 0, "pwm-backlight", NULL, |
23 | 50000, PWM_POLARITY_NORMAL), | ||
23 | }; | 24 | }; |
24 | 25 | ||
25 | static void __init board_init(void) | 26 | static void __init board_init(void) |