fix GEN_SPI_RSET_BASE macro (#9697)

SVN-Revision: 27604
This commit is contained in:
Florian Fainelli 2011-07-13 09:33:11 +00:00
parent ab5fd3c1cb
commit 930485561c
2 changed files with 2 additions and 2 deletions

View file

@ -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) { \

View file

@ -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) { \