]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sh: modify resource for SPI0 in setup-sh7757
authorShimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>
Thu, 26 Jan 2012 08:44:05 +0000 (17:44 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 27 Jan 2012 06:04:36 +0000 (15:04 +0900)
The new spi-sh driver decodes the IORESOURCE_MEM_TYPE_MASK. So, the
resource needs the IORESOURCE_MEM_32BIT.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/setup-sh7757.c

index a7b2da6b3a1a359953f7043d498288de59b7df55..226d80975408671a79e2836e39752984be89c41e 100644 (file)
@@ -133,7 +133,7 @@ static struct resource spi0_resources[] = {
        [0] = {
                .start  = 0xfe002000,
                .end    = 0xfe0020ff,
-               .flags  = IORESOURCE_MEM,
+               .flags  = IORESOURCE_MEM | IORESOURCE_MEM_32BIT,
        },
        [1] = {
                .start  = 86,