diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-05-19 22:42:37 +0200 |
---|---|---|
committer | Stephane Desneux <stephane.desneux@open.eurogiciel.org> | 2015-02-04 11:14:40 +0100 |
commit | 0e35396c7f50b8159d3541effa848e708425e186 (patch) | |
tree | c6da8fd51d5bf1d6ab874730e04f622d59eae1cc /Documentation | |
parent | 644002a55744540a3c03156861590a55dfe34bcc (diff) | |
download | linux-stable-0e35396c7f50b8159d3541effa848e708425e186.tar.gz linux-stable-0e35396c7f50b8159d3541effa848e708425e186.tar.bz2 linux-stable-0e35396c7f50b8159d3541effa848e708425e186.zip |
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>
(cherry picked from commit 4284402924cc55e182008ca7e9d4fb1e891ff5ae)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'Documentation')
-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 93cb97974986..f38f99cda64f 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 consumers to providers, as given in the following example: static struct pwm_lookup board_pwm_lookup[] = { - PWM_LOOKUP("tegra-pwm", 0, "pwm-backlight", NULL), + PWM_LOOKUP("tegra-pwm", 0, "pwm-backlight", NULL, + 50000, PWM_POLARITY_NORMAL), }; static void __init board_init(void) |