[brcm63xx] fix GEN_SPI_RSET_BASE macro (#9697)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 13 Jul 2011 09:33:11 +0000 (09:33 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 13 Jul 2011 09:33:11 +0000 (09:33 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27604 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/brcm63xx/patches-2.6.39/240-spi.patch
target/linux/brcm63xx/patches-3.0/240-spi.patch

index 54bed22..848b2f6 100644 (file)
 +
 +#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) {                                                  \
index 835cf87..6de3f3c 100644 (file)
 +
 +#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) {                                                  \