Fix for upstream patch:
Subject: acpi-cope-with-pnpacpi-tables-missing-an-rtc-entry-fix From: Andrew Morton <email address hidden>
Cc: <email address hidden> Cc: Adam Belay <email address hidden> Cc: Alessandro Zummo <email address hidden> Cc: Bjorn Helgaas <email address hidden> Cc: Chuck Ebbert <email address hidden> Cc: David Brownell <email address hidden> Cc: Ingo Molnar <email address hidden> Cc: Len Brown <email address hidden> Cc: Rik Theys <email address hidden> Cc: Thomas Gleixner <email address hidden> Signed-off-by: Andrew Morton <email address hidden> ---
include/asm-x86/mc146818rtc.h | 2 ++ 1 file changed, 2 insertions(+)
diff -puN include/asm-x86/mc146818rtc.h~acpi-cope-with-pnpacpi-tables-missing-an-rtc-entry-fix include/asm-x86/mc146818rtc.h --- a/include/asm-x86/mc146818rtc.h~acpi-cope-with-pnpacpi-tables-missing-an-rtc-entry-fix +++ a/include/asm-x86/mc146818rtc.h @@ -9,6 +9,8 @@ #include <asm/processor.h> #include <linux/mc146818rtc.h>
+struct device; + #ifndef RTC_PORT #define RTC_PORT(x) (0x70 + (x)) #define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */
Fix for upstream patch:
Subject: acpi-cope- with-pnpacpi- tables- missing- an-rtc- entry-fix
From: Andrew Morton <email address hidden>
Cc: <email address hidden>
Cc: Adam Belay <email address hidden>
Cc: Alessandro Zummo <email address hidden>
Cc: Bjorn Helgaas <email address hidden>
Cc: Chuck Ebbert <email address hidden>
Cc: David Brownell <email address hidden>
Cc: Ingo Molnar <email address hidden>
Cc: Len Brown <email address hidden>
Cc: Rik Theys <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Signed-off-by: Andrew Morton <email address hidden>
---
include/ asm-x86/ mc146818rtc. h | 2 ++
1 file changed, 2 insertions(+)
diff -puN include/ asm-x86/ mc146818rtc. h~acpi- cope-with- pnpacpi- tables- missing- an-rtc- entry-fix include/ asm-x86/ mc146818rtc. h asm-x86/ mc146818rtc. h~acpi- cope-with- pnpacpi- tables- missing- an-rtc- entry-fix asm-x86/ mc146818rtc. h mc146818rtc. h>
--- a/include/
+++ a/include/
@@ -9,6 +9,8 @@
#include <asm/processor.h>
#include <linux/
+struct device;
+
#ifndef RTC_PORT
#define RTC_PORT(x) (0x70 + (x))
#define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */