diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-19 10:26:56 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-20 23:55:15 -0500 |
commit | 9fca878623378e7dd6da8e7135a561c17bc1112b (patch) | |
tree | dabd7befd6eaab89c9b3d23260367a610c8d84cb /arch | |
parent | 8005745d6eea79da8ee2e7fe978d14e412aa3353 (diff) |
ARM: SMDK6410: Set up interrupt range for WM835x on 1190-EV1 PMIC board
The WM835x driver won't actually use this yet but it will in the
future when the changes converting it to genirq are merged.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c6410/mach-smdk6410.c | 1 | ||||
-rw-r--r-- | arch/arm/plat-s3c64xx/include/plat/irqs.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c6410/mach-smdk6410.c b/arch/arm/mach-s3c6410/mach-smdk6410.c index 5376880cdd89..eba345fadffe 100644 --- a/arch/arm/mach-s3c6410/mach-smdk6410.c +++ b/arch/arm/mach-s3c6410/mach-smdk6410.c | |||
@@ -399,6 +399,7 @@ static int __init smdk6410_wm8350_init(struct wm8350 *wm8350) | |||
399 | static struct wm8350_platform_data __initdata smdk6410_wm8350_pdata = { | 399 | static struct wm8350_platform_data __initdata smdk6410_wm8350_pdata = { |
400 | .init = smdk6410_wm8350_init, | 400 | .init = smdk6410_wm8350_init, |
401 | .irq_high = 1, | 401 | .irq_high = 1, |
402 | .irq_base = IRQ_BOARD_START, | ||
402 | }; | 403 | }; |
403 | #endif | 404 | #endif |
404 | 405 | ||
diff --git a/arch/arm/plat-s3c64xx/include/plat/irqs.h b/arch/arm/plat-s3c64xx/include/plat/irqs.h index 176fe15a61d6..a22758194e6d 100644 --- a/arch/arm/plat-s3c64xx/include/plat/irqs.h +++ b/arch/arm/plat-s3c64xx/include/plat/irqs.h | |||
@@ -198,7 +198,11 @@ | |||
198 | * interrupt controllers). */ | 198 | * interrupt controllers). */ |
199 | #define IRQ_BOARD_START (IRQ_EINT_GROUP9_BASE + IRQ_EINT_GROUP9_NR + 1) | 199 | #define IRQ_BOARD_START (IRQ_EINT_GROUP9_BASE + IRQ_EINT_GROUP9_NR + 1) |
200 | 200 | ||
201 | #ifdef CONFIG_SMDK6410_WM1190_EV1 | ||
202 | #define IRQ_BOARD_NR 64 | ||
203 | #else | ||
201 | #define IRQ_BOARD_NR 16 | 204 | #define IRQ_BOARD_NR 16 |
205 | #endif | ||
202 | 206 | ||
203 | #define IRQ_BOARD_END (IRQ_BOARD_START + IRQ_BOARD_NR) | 207 | #define IRQ_BOARD_END (IRQ_BOARD_START + IRQ_BOARD_NR) |
204 | 208 | ||