diff options
author | Josh Cartwright <joshc@codeaurora.org> | 2014-04-03 23:50:14 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-04 01:21:23 +0200 |
commit | fda9909ddaab13fb7b35b94f204623c1f9571fc7 (patch) | |
tree | 17a2be60c3cdf8214348e451c96ddfb0211a91d8 /drivers/char/nwbutton.h | |
parent | rtc: pm8xxx: add support for devicetree (diff) | |
download | linux-fda9909ddaab13fb7b35b94f204623c1f9571fc7.tar.xz linux-fda9909ddaab13fb7b35b94f204623c1f9571fc7.zip |
rtc: pm8xxx: move device_init_wakeup() before rtc_register
Setup wakeup capability before rtc_register to ensure the rtc class core
properly sets up our 'wakealarm' sysfs attribute.
Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/nwbutton.h')
0 files changed, 0 insertions, 0 deletions