Home
last modified time | relevance | path

Searched hist:b99b94b52339dc186810e29f1f6472d86c42d2d9 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/rtc/
H A Drtc-twl.cdiff b99b94b52339dc186810e29f1f6472d86c42d2d9 Wed Jul 31 22:53:41 CEST 2013 Grygorii Strashko <grygorii.strashko@ti.com> 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>