aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.39/240-spi.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-07-13 09:33:11 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-07-13 09:33:11 +0000
commit930485561ce9557416ff78681fed907c15a89351 (patch)
treeaedf054562ab0a7d40e82559960b9ea72a271c51 /target/linux/brcm63xx/patches-2.6.39/240-spi.patch
parentab5fd3c1cbf97f8623bed3ed2283b435272e7d70 (diff)
downloadupstream-930485561ce9557416ff78681fed907c15a89351.tar.gz
upstream-930485561ce9557416ff78681fed907c15a89351.tar.bz2
upstream-930485561ce9557416ff78681fed907c15a89351.zip
fix GEN_SPI_RSET_BASE macro (#9697)
SVN-Revision: 27604
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.39/240-spi.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.39/240-spi.patch2
1 files changed, 1 insertions, 1 deletions
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 54bed22ca4..848b2f6dc7 100644
--- 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) { \