]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drivers/rtc/rtc-palmas.c: init wakeup before device register
authorWei Ni <wni@nvidia.com>
Wed, 3 Jul 2013 22:08:00 +0000 (15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:08:00 +0000 (16:08 -0700)
commit2c5a5b30917b725ea95fa189e52fc8412f6a2814
tree16c379d7f783f5b0b919401d320123d62191aa0a
parent92e7f04a7fcc9e7f5955f3337e26ca4ac2ae387b
drivers/rtc/rtc-palmas.c: init wakeup before device register

Enable dev as wakeup device before calling rtc_device_register(), so that
it can create the "wakealarm" sysfs.

Signed-off-by: Wei Ni <wni@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-palmas.c