diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-01-18 10:18:43 +1000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-01-18 10:18:43 +1000 |
commit | 41733e897930e7a9d99d48aa13e548f932064472 (patch) | |
tree | 29c6eccd695ba8795b5421f7fd04322df9fd7019 | |
parent | c2bc3a316a7281f67e36b34dac2802cbe36a9128 (diff) | |
parent | 2fde109c2d79e9791250a5d212c13055e9216a55 (diff) | |
download | op-kernel-dev-41733e897930e7a9d99d48aa13e548f932064472.zip op-kernel-dev-41733e897930e7a9d99d48aa13e548f932064472.tar.gz |
Merge branch 'rmobile/kota2' into rmobile-fixes-for-linus
-rw-r--r-- | arch/arm/mach-shmobile/board-kota2.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/sh73a0.h | 6 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/intc-sh73a0.c | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/mach-shmobile/board-kota2.c b/arch/arm/mach-shmobile/board-kota2.c index 857ceee..c8e7ca2 100644 --- a/arch/arm/mach-shmobile/board-kota2.c +++ b/arch/arm/mach-shmobile/board-kota2.c @@ -143,11 +143,10 @@ static struct gpio_keys_button gpio_buttons[] = { static struct gpio_keys_platform_data gpio_key_info = { .buttons = gpio_buttons, .nbuttons = ARRAY_SIZE(gpio_buttons), - .poll_interval = 250, /* polled for now */ }; static struct platform_device gpio_keys_device = { - .name = "gpio-keys-polled", /* polled for now */ + .name = "gpio-keys", .id = -1, .dev = { .platform_data = &gpio_key_info, diff --git a/arch/arm/mach-shmobile/include/mach/sh73a0.h b/arch/arm/mach-shmobile/include/mach/sh73a0.h index 881d515..cad5757 100644 --- a/arch/arm/mach-shmobile/include/mach/sh73a0.h +++ b/arch/arm/mach-shmobile/include/mach/sh73a0.h @@ -515,8 +515,8 @@ enum { SHDMA_SLAVE_MMCIF_RX, }; -/* PINT interrupts are located at Linux IRQ 768 and up */ -#define SH73A0_PINT0_IRQ(irq) ((irq) + 768) -#define SH73A0_PINT1_IRQ(irq) ((irq) + 800) +/* PINT interrupts are located at Linux IRQ 800 and up */ +#define SH73A0_PINT0_IRQ(irq) ((irq) + 800) +#define SH73A0_PINT1_IRQ(irq) ((irq) + 832) #endif /* __ASM_SH73A0_H__ */ diff --git a/arch/arm/mach-shmobile/intc-sh73a0.c b/arch/arm/mach-shmobile/intc-sh73a0.c index 1eda6b0..9857595 100644 --- a/arch/arm/mach-shmobile/intc-sh73a0.c +++ b/arch/arm/mach-shmobile/intc-sh73a0.c @@ -19,6 +19,7 @@ #include <linux/kernel.h> #include <linux/init.h> #include <linux/interrupt.h> +#include <linux/module.h> #include <linux/irq.h> #include <linux/io.h> #include <linux/sh_intc.h> @@ -445,6 +446,7 @@ void __init sh73a0_init_irq(void) setup_irq(gic_spi(1 + k), &sh73a0_irq_pin_cascade[k]); n = intcs_evt2irq(to_intc_vect(gic_spi(1 + k))); + WARN_ON(irq_alloc_desc_at(n, numa_node_id()) != n); irq_set_chip_and_handler_name(n, &intca_gic_irq_chip, handle_level_irq, "level"); set_irq_flags(n, IRQF_VALID); /* yuck */ |