From: Dmitry Osipenko Date: Wed, 12 Jun 2013 21:04:44 +0000 (-0700) Subject: drivers/rtc/rtc-tps6586x.c: device wakeup flags correction X-Git-Tag: v3.10-rc6~21^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a280844bb3bcd79076cac6ad002f71d25c798e5;p=pandora-kernel.git 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 Cc: Laxman Dewangan Cc: Jingoo Han Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed