fix GEN_SPI_RSET_BASE macro (#9697)
authorFlorian Fainelli <florian@openwrt.org>
Wed, 13 Jul 2011 09:33:11 +0000 (09:33 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 13 Jul 2011 09:33:11 +0000 (09:33 +0000)
SVN-Revision: 27604

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

index 54bed22ca4d381c224ae3295037a8bf4178b3a03..848b2f6dc737d6b118a6f1fe4105b63dd463a9af 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 835cf87ae7a837990393108bf1be788561f3cdeb..6de3f3cb0d1989344600b93abe93a866b7830d55 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) {                                                  \