fix GEN_SPI_RSET_BASE macro (#9697)
[openwrt/.git] / target / linux / brcm63xx / patches-2.6.39 / 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) {                                                  \