aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
commit1218fd06fb5fecc407bbf7f2edb98b007c6522e7 (patch)
treea1c8a5b002a217d03bb959b64e8cf3278c4d50a5 /target
parent8334f5531faaaa0f671965373f993001a3e54abf (diff)
downloadupstream-1218fd06fb5fecc407bbf7f2edb98b007c6522e7.tar.gz
upstream-1218fd06fb5fecc407bbf7f2edb98b007c6522e7.tar.bz2
upstream-1218fd06fb5fecc407bbf7f2edb98b007c6522e7.zip
[brcm63xx] fix GEN_SPI_RSET_BASE macro (#9697)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27604 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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) { \