1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-20 06:28:12 +02:00

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

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

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