summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-13 09:33:11 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-13 09:33:11 +0000
commite43c7712447796c8a405984f5474584de7859b61 (patch)
treea1c8a5b002a217d03bb959b64e8cf3278c4d50a5
parent7c0785c3072ee121692a47991343242ab9a0c0b3 (diff)
[brcm63xx] fix GEN_SPI_RSET_BASE macro (#9697)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27604 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/brcm63xx/patches-2.6.39/240-spi.patch2
-rw-r--r--target/linux/brcm63xx/patches-3.0/240-spi.patch2
2 files changed, 2 insertions, 2 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) { \
diff --git a/target/linux/brcm63xx/patches-3.0/240-spi.patch b/target/linux/brcm63xx/patches-3.0/240-spi.patch
index 835cf87ae7..6de3f3cb0d 100644
--- a/target/linux/brcm63xx/patches-3.0/240-spi.patch
+++ b/target/linux/brcm63xx/patches-3.0/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) { \