projects
/
openwrt
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix GEN_SPI_RSET_BASE macro (#9697)
[openwrt/.git]
/
target
/
linux
/
brcm63xx
/
patches-2.6.39
/
240-spi.patch
diff --git
a/target/linux/brcm63xx/patches-2.6.39/240-spi.patch
b/target/linux/brcm63xx/patches-2.6.39/240-spi.patch
index 54bed22ca4d381c224ae3295037a8bf4178b3a03..848b2f6dc737d6b118a6f1fe4105b63dd463a9af 100644
(file)
--- a/
target/linux/brcm63xx/patches-2.6.39/240-spi.patch
+++ b/
target/linux/brcm63xx/patches-2.6.39/240-spi.patch
@@
-847,7
+847,7
@@
+
+#define __GEN_SPI_RSET_BASE(__cpu, __rset) \
+ case SPI_## __rset: \
-+ return SPI_BCM_## __cpu ##_SPI_## __rset
##
;
++ return SPI_BCM_## __cpu ##_SPI_## __rset;
+
+#define __GEN_SPI_RSET(__cpu) \
+ switch (reg) { \