projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
833218f
)
sh: modify resource for SPI0 in setup-sh7757
author
Shimoda, Yoshihiro
<
[email protected]
>
Thu, 26 Jan 2012 08:44:05 +0000
(17:44 +0900)
committer
Paul Mundt
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Paul Mundt <
[email protected]
>
arch/sh/kernel/cpu/sh4a/setup-sh7757.c
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/cpu/sh4a/setup-sh7757.c
b/arch/sh/kernel/cpu/sh4a/setup-sh7757.c
index a7b2da6b3a1a359953f7043d498288de59b7df55..226d80975408671a79e2836e39752984be89c41e 100644
(file)
--- 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,