diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-osk.c')
-rw-r--r-- | arch/arm/mach-omap1/board-osk.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/arm/mach-omap1/board-osk.c b/arch/arm/mach-omap1/board-osk.c index 845c66371ca3..3e766e49f7cc 100644 --- a/arch/arm/mach-omap1/board-osk.c +++ b/arch/arm/mach-omap1/board-osk.c | |||
@@ -39,7 +39,7 @@ | |||
39 | 39 | ||
40 | #include <linux/i2c/tps65010.h> | 40 | #include <linux/i2c/tps65010.h> |
41 | 41 | ||
42 | #include <asm/hardware.h> | 42 | #include <mach/hardware.h> |
43 | #include <asm/gpio.h> | 43 | #include <asm/gpio.h> |
44 | 44 | ||
45 | #include <asm/mach-types.h> | 45 | #include <asm/mach-types.h> |
@@ -47,12 +47,12 @@ | |||
47 | #include <asm/mach/map.h> | 47 | #include <asm/mach/map.h> |
48 | #include <asm/mach/flash.h> | 48 | #include <asm/mach/flash.h> |
49 | 49 | ||
50 | #include <asm/arch/usb.h> | 50 | #include <mach/usb.h> |
51 | #include <asm/arch/mux.h> | 51 | #include <mach/mux.h> |
52 | #include <asm/arch/tc.h> | 52 | #include <mach/tc.h> |
53 | #include <asm/arch/common.h> | 53 | #include <mach/common.h> |
54 | #include <asm/arch/mcbsp.h> | 54 | #include <mach/mcbsp.h> |
55 | #include <asm/arch/omap-alsa.h> | 55 | #include <mach/omap-alsa.h> |
56 | 56 | ||
57 | static struct mtd_partition osk_partitions[] = { | 57 | static struct mtd_partition osk_partitions[] = { |
58 | /* bootloader (U-Boot, etc) in first sector */ | 58 | /* bootloader (U-Boot, etc) in first sector */ |
@@ -288,7 +288,7 @@ static void __init osk_init_cf(void) | |||
288 | return; | 288 | return; |
289 | } | 289 | } |
290 | /* the CF I/O IRQ is really active-low */ | 290 | /* the CF I/O IRQ is really active-low */ |
291 | set_irq_type(OMAP_GPIO_IRQ(62), IRQT_FALLING); | 291 | set_irq_type(OMAP_GPIO_IRQ(62), IRQ_TYPE_EDGE_FALLING); |
292 | } | 292 | } |
293 | 293 | ||
294 | static void __init osk_init_irq(void) | 294 | static void __init osk_init_irq(void) |
@@ -340,7 +340,7 @@ static struct omap_board_config_kernel osk_config[] __initdata = { | |||
340 | #include <linux/spi/spi.h> | 340 | #include <linux/spi/spi.h> |
341 | #include <linux/spi/ads7846.h> | 341 | #include <linux/spi/ads7846.h> |
342 | 342 | ||
343 | #include <asm/arch/keypad.h> | 343 | #include <mach/keypad.h> |
344 | 344 | ||
345 | static const int osk_keymap[] = { | 345 | static const int osk_keymap[] = { |
346 | /* KEY(col, row, code) */ | 346 | /* KEY(col, row, code) */ |
@@ -483,7 +483,7 @@ static void __init osk_mistral_init(void) | |||
483 | omap_cfg_reg(P20_1610_GPIO4); /* PENIRQ */ | 483 | omap_cfg_reg(P20_1610_GPIO4); /* PENIRQ */ |
484 | gpio_request(4, "ts_int"); | 484 | gpio_request(4, "ts_int"); |
485 | gpio_direction_input(4); | 485 | gpio_direction_input(4); |
486 | set_irq_type(OMAP_GPIO_IRQ(4), IRQT_FALLING); | 486 | set_irq_type(OMAP_GPIO_IRQ(4), IRQ_TYPE_EDGE_FALLING); |
487 | 487 | ||
488 | spi_register_board_info(mistral_boardinfo, | 488 | spi_register_board_info(mistral_boardinfo, |
489 | ARRAY_SIZE(mistral_boardinfo)); | 489 | ARRAY_SIZE(mistral_boardinfo)); |
@@ -494,7 +494,7 @@ static void __init osk_mistral_init(void) | |||
494 | int ret = 0; | 494 | int ret = 0; |
495 | 495 | ||
496 | gpio_direction_input(OMAP_MPUIO(2)); | 496 | gpio_direction_input(OMAP_MPUIO(2)); |
497 | set_irq_type(OMAP_GPIO_IRQ(OMAP_MPUIO(2)), IRQT_RISING); | 497 | set_irq_type(OMAP_GPIO_IRQ(OMAP_MPUIO(2)), IRQ_TYPE_EDGE_RISING); |
498 | #ifdef CONFIG_PM | 498 | #ifdef CONFIG_PM |
499 | /* share the IRQ in case someone wants to use the | 499 | /* share the IRQ in case someone wants to use the |
500 | * button for more than wakeup from system sleep. | 500 | * button for more than wakeup from system sleep. |