diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2013-07-31 13:53:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-31 14:41:03 -0700 |
commit | b99b94b52339dc186810e29f1f6472d86c42d2d9 (patch) | |
tree | 93403762eae4dc098c81fa1ea35fbba692577988 /kernel/printk | |
parent | 9d8c5b5284e4a0167c5f7b1193692492358b8700 (diff) |
drivers/rtc/rtc-twl.c: fix: rtcX/wakealarm attribute isn't created
The device_init_wakeup() should be called before rtc_device_register().
Otherwise, sysfs "sys/class/rtc/rtcX/wakealarm" attribute will not be seen
from User space.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Kevin Hilman <khilman@linaro.org>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/printk')
0 files changed, 0 insertions, 0 deletions