diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2013-06-12 14:04:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-06-12 16:29:45 -0700 |
commit | 5a280844bb3bcd79076cac6ad002f71d25c798e5 (patch) | |
tree | bdc11986ca10947403105314a901aa8a1ef4457f /drivers/rtc/rtc-cmos.c | |
parent | f101a9464bfbda42730b54a66f926d75ed2cd31e (diff) |
drivers/rtc/rtc-tps6586x.c: device wakeup flags correction
Use device_init_wakeup() instead of device_set_wakeup_capable() and move
it before rtc dev registering. This fixes alarmtimer not registered
when tps6586x rtc is the only wakeup compatible rtc in the system.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Cc: Laxman Dewangan <ldewangan@nvidia.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-cmos.c')
0 files changed, 0 insertions, 0 deletions