]> git.karo-electronics.de Git - linux-beck.git/commit
[ARM] 5109/1: Mark rtc sa1100 driver as wakeup source before registering it
authorUli Luckas <u.luckas@road.de>
Wed, 18 Jun 2008 08:54:03 +0000 (09:54 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 22 Jun 2008 13:32:12 +0000 (14:32 +0100)
commite5a2c9ccb3e849fed70674ac6880536eaf553dba
tree5f910751daebb99597c391ca4901ab096da23cc1
parentee98476bbc565f8fe42e198602e647288b6a258d
[ARM] 5109/1: Mark rtc sa1100 driver as wakeup source before registering it

Mark rtc sa1100 driver as wakeup source before registering it.
rtc_device_register evaluates device_can_wakeup(rtc->dev.parent) and
supresses the creation of /sys/class/rtc/rtcX/wakealarm if
device_can_wakeup is not (yet) true.

Signed-off-by: Uli Luckas <u.luckas@road.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/rtc/rtc-sa1100.c