diff options
author | Len Brown <len.brown@intel.com> | 2009-01-09 02:10:16 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-01-09 02:10:16 -0500 |
commit | 2602a671ad7321a25d253c080837e4569a9bceed (patch) | |
tree | 68ce56f3681dec82491ebe002bb1fb5227571b36 /drivers/acpi | |
parent | 48452e5f99ab35d643df0463b6ad11aea8ea7bdc (diff) |
ACPI: fix build warning
when CONFIG_RTC_DRV_CMOS=m
and thus !defined(HAVE_ACPI_LEGACY_ALARM)
drivers/acpi/proc.c:85: warning: ‘cmos_bcd_read’ declared ‘static’ but
never defined
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/sleep/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/sleep/proc.c b/drivers/acpi/sleep/proc.c index 232d4b64140b..2d0e6b577502 100644 --- a/drivers/acpi/sleep/proc.c +++ b/drivers/acpi/sleep/proc.c | |||
@@ -84,10 +84,10 @@ acpi_system_write_sleep(struct file *file, | |||
84 | #define HAVE_ACPI_LEGACY_ALARM | 84 | #define HAVE_ACPI_LEGACY_ALARM |
85 | #endif | 85 | #endif |
86 | 86 | ||
87 | static u32 cmos_bcd_read(int offset, int rtc_control); | ||
88 | |||
89 | #ifdef HAVE_ACPI_LEGACY_ALARM | 87 | #ifdef HAVE_ACPI_LEGACY_ALARM |
90 | 88 | ||
89 | static u32 cmos_bcd_read(int offset, int rtc_control); | ||
90 | |||
91 | static int acpi_system_alarm_seq_show(struct seq_file *seq, void *offset) | 91 | static int acpi_system_alarm_seq_show(struct seq_file *seq, void *offset) |
92 | { | 92 | { |
93 | u32 sec, min, hr; | 93 | u32 sec, min, hr; |