mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 20:41:53 +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:
parent
7c0785c307
commit
e43c771244
@ -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
Block a user