summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh4a
diff options
context:
space:
mode:
authorShimoda, Yoshihiro2012-01-26 09:44:05 +0100
committerPaul Mundt2012-01-27 07:04:36 +0100
commit11c582e32c664f67e2518b9f97e6c91918617274 (patch)
treecef12e080a7898d3719fe4242eed8d09b07b1800 /arch/sh/kernel/cpu/sh4a
parentsh: clock-sh7724: fixup sh_fsi clock settings (diff)
downloadkernel-qcow2-linux-11c582e32c664f67e2518b9f97e6c91918617274.tar.gz
kernel-qcow2-linux-11c582e32c664f67e2518b9f97e6c91918617274.tar.xz
kernel-qcow2-linux-11c582e32c664f67e2518b9f97e6c91918617274.zip
sh: modify resource for SPI0 in setup-sh7757
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>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a')
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-sh7757.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7757.c b/arch/sh/kernel/cpu/sh4a/setup-sh7757.c
index a7b2da6b3a1a..226d80975408 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7757.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7757.c
@@ -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,