diff options
| author | David S. Miller <davem@davemloft.net> | 2010-09-09 02:49:04 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2010-09-09 02:49:04 -0400 |
| commit | e199e6136ce6b151e6638ae93dca60748424d900 (patch) | |
| tree | 0d66e0b5d227c36b005e4f5537f4bbcfc6ed4904 /drivers/rtc/rtc-cmos.c | |
| parent | 972c40b5bee429c84ba727f8ac0a08292bc5dc3d (diff) | |
| parent | d56557af19867edb8c0e96f8e26399698a08857f (diff) | |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/rtc/rtc-cmos.c')
| -rw-r--r-- | drivers/rtc/rtc-cmos.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c index 11b8ea29d2b7..5856167a0c90 100644 --- a/drivers/rtc/rtc-cmos.c +++ b/drivers/rtc/rtc-cmos.c | |||
| @@ -970,7 +970,6 @@ static inline int cmos_poweroff(struct device *dev) | |||
| 970 | 970 | ||
| 971 | #include <linux/acpi.h> | 971 | #include <linux/acpi.h> |
| 972 | 972 | ||
| 973 | #ifdef CONFIG_PM | ||
| 974 | static u32 rtc_handler(void *context) | 973 | static u32 rtc_handler(void *context) |
| 975 | { | 974 | { |
| 976 | acpi_clear_event(ACPI_EVENT_RTC); | 975 | acpi_clear_event(ACPI_EVENT_RTC); |
| @@ -999,11 +998,6 @@ static void rtc_wake_off(struct device *dev) | |||
| 999 | { | 998 | { |
| 1000 | acpi_disable_event(ACPI_EVENT_RTC, 0); | 999 | acpi_disable_event(ACPI_EVENT_RTC, 0); |
| 1001 | } | 1000 | } |
| 1002 | #else | ||
| 1003 | #define rtc_wake_setup() do{}while(0) | ||
| 1004 | #define rtc_wake_on NULL | ||
| 1005 | #define rtc_wake_off NULL | ||
| 1006 | #endif | ||
| 1007 | 1001 | ||
| 1008 | /* Every ACPI platform has a mc146818 compatible "cmos rtc". Here we find | 1002 | /* Every ACPI platform has a mc146818 compatible "cmos rtc". Here we find |
| 1009 | * its device node and pass extra config data. This helps its driver use | 1003 | * its device node and pass extra config data. This helps its driver use |
