mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-22 15:03:41 +03:00
24 lines
773 B
Diff
24 lines
773 B
Diff
|
--- 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[] = {
|
||
|
{
|