fix GEN_SPI_RSET_BASE macro (#9697)
[librecmc/librecmc.git] / target / linux / brcm63xx / patches-3.0 / 240-spi.patch
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) {                                                  \