diff options
Diffstat (limited to 'target/linux/gemini/patches-3.3/002-arm-gemini-fix-platform_register_rtc-prototype.patch')
-rw-r--r-- | target/linux/gemini/patches-3.3/002-arm-gemini-fix-platform_register_rtc-prototype.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/gemini/patches-3.3/002-arm-gemini-fix-platform_register_rtc-prototype.patch b/target/linux/gemini/patches-3.3/002-arm-gemini-fix-platform_register_rtc-prototype.patch new file mode 100644 index 0000000..f789f77 --- /dev/null +++ b/target/linux/gemini/patches-3.3/002-arm-gemini-fix-platform_register_rtc-prototype.patch @@ -0,0 +1,23 @@ +--- a/arch/arm/mach-gemini/common.h ++++ b/arch/arm/mach-gemini/common.h +@@ -18,9 +18,9 @@ extern void gemini_map_io(void); + extern void gemini_init_irq(void); + extern void gemini_timer_init(void); + extern void gemini_gpio_init(void); +-extern void platform_register_rtc(void); + + /* Common platform devices registration functions */ ++extern int platform_register_rtc(void); + extern int platform_register_uart(void); + extern int platform_register_pflash(unsigned int size, + struct mtd_partition *parts, +--- a/arch/arm/mach-gemini/devices.c ++++ b/arch/arm/mach-gemini/devices.c +@@ -17,6 +17,7 @@ + #include <mach/irqs.h> + #include <mach/hardware.h> + #include <mach/global_reg.h> ++#include "common.h" + + static struct plat_serial8250_port serial_platform_data[] = { + { |