diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-palmz71.c')
| -rw-r--r-- | arch/arm/mach-omap1/board-palmz71.c | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/arch/arm/mach-omap1/board-palmz71.c b/arch/arm/mach-omap1/board-palmz71.c index 9b0ea48d35fd..42061573e380 100644 --- a/arch/arm/mach-omap1/board-palmz71.c +++ b/arch/arm/mach-omap1/board-palmz71.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
| 18 | #include <linux/gpio.h> | ||
| 18 | #include <linux/kernel.h> | 19 | #include <linux/kernel.h> |
| 19 | #include <linux/init.h> | 20 | #include <linux/init.h> |
| 20 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
| @@ -32,7 +33,6 @@ | |||
| 32 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
| 33 | #include <asm/mach/map.h> | 34 | #include <asm/mach/map.h> |
| 34 | 35 | ||
| 35 | #include <mach/gpio.h> | ||
| 36 | #include <plat/flash.h> | 36 | #include <plat/flash.h> |
| 37 | #include <plat/mux.h> | 37 | #include <plat/mux.h> |
| 38 | #include <plat/usb.h> | 38 | #include <plat/usb.h> |
| @@ -42,7 +42,6 @@ | |||
| 42 | #include <plat/irda.h> | 42 | #include <plat/irda.h> |
| 43 | #include <plat/keypad.h> | 43 | #include <plat/keypad.h> |
| 44 | #include <plat/common.h> | 44 | #include <plat/common.h> |
| 45 | #include <plat/omap-alsa.h> | ||
| 46 | 45 | ||
| 47 | #include <linux/spi/spi.h> | 46 | #include <linux/spi/spi.h> |
| 48 | #include <linux/spi/ads7846.h> | 47 | #include <linux/spi/ads7846.h> |
| @@ -57,13 +56,6 @@ | |||
| 57 | #define PALMZ71_SLIDER_GPIO OMAP_MPUIO(3) | 56 | #define PALMZ71_SLIDER_GPIO OMAP_MPUIO(3) |
| 58 | #define PALMZ71_MMC_IN_GPIO OMAP_MPUIO(4) | 57 | #define PALMZ71_MMC_IN_GPIO OMAP_MPUIO(4) |
| 59 | 58 | ||
| 60 | static void __init | ||
| 61 | omap_palmz71_init_irq(void) | ||
| 62 | { | ||
| 63 | omap1_init_common_hw(); | ||
| 64 | omap1_init_irq(); | ||
| 65 | } | ||
| 66 | |||
| 67 | static const unsigned int palmz71_keymap[] = { | 59 | static const unsigned int palmz71_keymap[] = { |
| 68 | KEY(0, 0, KEY_F1), | 60 | KEY(0, 0, KEY_F1), |
| 69 | KEY(1, 0, KEY_F2), | 61 | KEY(1, 0, KEY_F2), |
| @@ -334,17 +326,12 @@ omap_palmz71_init(void) | |||
| 334 | palmz71_gpio_setup(0); | 326 | palmz71_gpio_setup(0); |
| 335 | } | 327 | } |
| 336 | 328 | ||
| 337 | static void __init | ||
| 338 | omap_palmz71_map_io(void) | ||
| 339 | { | ||
| 340 | omap1_map_common_io(); | ||
| 341 | } | ||
| 342 | |||
| 343 | MACHINE_START(OMAP_PALMZ71, "OMAP310 based Palm Zire71") | 329 | MACHINE_START(OMAP_PALMZ71, "OMAP310 based Palm Zire71") |
| 344 | .boot_params = 0x10000100, | 330 | .atag_offset = 0x100, |
| 345 | .map_io = omap_palmz71_map_io, | 331 | .map_io = omap15xx_map_io, |
| 332 | .init_early = omap1_init_early, | ||
| 346 | .reserve = omap_reserve, | 333 | .reserve = omap_reserve, |
| 347 | .init_irq = omap_palmz71_init_irq, | 334 | .init_irq = omap1_init_irq, |
| 348 | .init_machine = omap_palmz71_init, | 335 | .init_machine = omap_palmz71_init, |
| 349 | .timer = &omap1_timer, | 336 | .timer = &omap1_timer, |
| 350 | MACHINE_END | 337 | MACHINE_END |
