[brcm63xx] fix GEN_SPI_RSET_BASE macro (#9697)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27604 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2011-07-13 09:33:11 +00:00
parent 8334f5531f
commit 1218fd06fb
2 changed files with 2 additions and 2 deletions

View File

@ -847,7 +847,7 @@
+ +
+#define __GEN_SPI_RSET_BASE(__cpu, __rset) \ +#define __GEN_SPI_RSET_BASE(__cpu, __rset) \
+ case SPI_## __rset: \ + case SPI_## __rset: \
+ return SPI_BCM_## __cpu ##_SPI_## __rset ##; + return SPI_BCM_## __cpu ##_SPI_## __rset;
+ +
+#define __GEN_SPI_RSET(__cpu) \ +#define __GEN_SPI_RSET(__cpu) \
+ switch (reg) { \ + switch (reg) { \

View File

@ -847,7 +847,7 @@
+ +
+#define __GEN_SPI_RSET_BASE(__cpu, __rset) \ +#define __GEN_SPI_RSET_BASE(__cpu, __rset) \
+ case SPI_## __rset: \ + case SPI_## __rset: \
+ return SPI_BCM_## __cpu ##_SPI_## __rset ##; + return SPI_BCM_## __cpu ##_SPI_## __rset;
+ +
+#define __GEN_SPI_RSET(__cpu) \ +#define __GEN_SPI_RSET(__cpu) \
+ switch (reg) { \ + switch (reg) { \