[brcm63xx] fix GEN_SPI_RSET_BASE macro (#9697)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27604 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
8334f5531f
commit
1218fd06fb
|
@ -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) { \
|
||||||
|
|
Loading…
Reference in New Issue