Skip to content

Commit

Permalink
sh: modify resource for SPI0 in setup-sh7757
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shimoda, Yoshihiro authored and Paul Mundt committed Jan 27, 2012
1 parent 833218f commit 11c582e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/kernel/cpu/sh4a/setup-sh7757.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 11c582e

Please sign in to comment.