1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 21:07:32 +02:00

[brcm63xx] fix GEN_SPI_RSET_BASE macro (#9697)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27604 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2011-07-13 09:33:11 +00:00
parent 7c0785c307
commit e43c771244
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) { \