summaryrefslogtreecommitdiff
path: root/arch/arm/mach-gemini/board-rut1xx.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-01-04 17:38:03 +0400
committerArnd Bergmann <arnd@arndb.de>2013-03-15 00:14:03 +0400
commit662146b155c09d4b1fd01b5a1fb4e8464cce6685 (patch)
treeb361c8a3970ecbca99aee5f78ff53c86b2a8aedd /arch/arm/mach-gemini/board-rut1xx.c
parentf6161aa153581da4a3867a2d1a7caf4be19b6ec9 (diff)
downloadlinux-662146b155c09d4b1fd01b5a1fb4e8464cce6685.tar.xz
ARM: gemini: get platform to build again
There is no defconfig file for gemini, which has lead to a lot of bitrot. This makes the broken board files, the gpio implementation and the reset logic work again, and fixes the build warnings that got introduced with the changes to the readl/writel prototypes. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-gemini/board-rut1xx.c')
-rw-r--r--arch/arm/mach-gemini/board-rut1xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-gemini/board-rut1xx.c b/arch/arm/mach-gemini/board-rut1xx.c
index fa0a36337f4d..7a675f88ffd6 100644
--- a/arch/arm/mach-gemini/board-rut1xx.c
+++ b/arch/arm/mach-gemini/board-rut1xx.c
@@ -14,6 +14,7 @@
#include <linux/leds.h>
#include <linux/input.h>
#include <linux/gpio_keys.h>
+#include <linux/sizes.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
@@ -87,4 +88,5 @@ MACHINE_START(RUT100, "Teltonika RUT100")
.init_irq = gemini_init_irq,
.init_time = gemini_timer_init,
.init_machine = rut1xx_init,
+ .restart = gemini_restart,
MACHINE_END