sh: add LCDC interrupt configuration to AP325 and Migo-R
authorMagnus Damm <damm@igel.co.jp>
Fri, 19 Dec 2008 03:02:16 +0000 (12:02 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 09:44:48 +0000 (18:44 +0900)
Add LCDC interrupt resources for AP325 and Migo-R. The LCDC driver does
not require interrupts at this point, but changes such as one-shot SYS
mode using deferred io, and wait-for-vblank will both need this.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/board-ap325rxa.c
arch/sh/boards/mach-migor/setup.c

index cc3540423614c932e494cc74e0d4dbc9dd5f1fe5..1c67cba6e34f1929cd53f616f35783e83e097518 100644 (file)
@@ -197,6 +197,10 @@ static struct resource lcdc_resources[] = {
                .end    = 0xfe941fff,
                .flags  = IORESOURCE_MEM,
        },
+       [1] = {
+               .start  = 28,
+               .flags  = IORESOURCE_IRQ,
+       },
 };
 
 static struct platform_device lcdc_device = {
index 82e1d9a56aba5e35e5244056557428d82448ae8a..3e37fb25ef92813a5095c4f57af2ad5c13baee97 100644 (file)
@@ -274,6 +274,10 @@ static struct resource migor_lcdc_resources[] = {
                .end    = 0xfe941fff,
                .flags  = IORESOURCE_MEM,
        },
+       [1] = {
+               .start  = 28,
+               .flags  = IORESOURCE_IRQ,
+       },
 };
 
 static struct platform_device migor_lcdc_device = {