rtc-cmos: move wake setup from ACPI glue into RTC driver
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 14 Oct 2008 19:50:21 +0000 (13:50 -0600)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2008 23:08:21 +0000 (16:08 -0700)
commita474aaedac99ba86e28ef6c912a7647c482db6dd
tree0b5972b98ea601ea22845290f5351c40a0bb7771
parent8acd3a60bcca17c6d89c73cee3ad6057eb83ba1e
rtc-cmos: move wake setup from ACPI glue into RTC driver

Move rtc_wake_setup() from drivers/acpi/glue.c into the RTC driver
in drivers/rtc/rtc-cmos.c.

This removes the ordering constraint between the module_init(acpi_rtc_init)
and the cmos_do_probe() code that depends on it.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/glue.c
drivers/rtc/rtc-cmos.c