ARM: S3C64XX: Dynamically assign interrupts for CPU PMIC on Cragganmore
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 19 Jun 2012 23:18:07 +0000 (08:18 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 20 Jun 2012 04:22:37 +0000 (13:22 +0900)
Now that the WM831x driver uses irq_domain we can happily allow it to
assign its own IRQs.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/include/mach/crag6410.h
arch/arm/mach-s3c64xx/mach-crag6410.c

index ec97c15b109ec525240bb544289eea087a112a94..4c3c9994fc2c2bac09fa6bb02de090664694b713 100644 (file)
@@ -13,8 +13,7 @@
 
 #include <linux/gpio.h>
 
-#define BANFF_PMIC_IRQ_BASE            IRQ_BOARD_START
-#define GLENFARCLAS_PMIC_IRQ_BASE      (IRQ_BOARD_START + 64)
+#define GLENFARCLAS_PMIC_IRQ_BASE      IRQ_BOARD_START
 
 #define PCA935X_GPIO_BASE              GPIO_BOARD_START
 #define CODEC_GPIO_BASE                        (GPIO_BOARD_START + 8)
index d0c352d861f8f341fd93ac2da561b7c2bab35805..161c3b6218a22a2fcf7c8728cbd1326219149ee5 100644 (file)
@@ -525,7 +525,6 @@ static struct wm831x_touch_pdata touch_pdata __initdata = {
 
 static struct wm831x_pdata crag_pmic_pdata __initdata = {
        .wm831x_num = 1,
-       .irq_base = BANFF_PMIC_IRQ_BASE,
        .gpio_base = BANFF_PMIC_GPIO_BASE,
        .soft_shutdown = true,