[brcm63xx] fix GEN_SPI_RSET_BASE macro (#9697)
[openwrt.git] / target / linux / brcm63xx / patches-3.0 / 240-spi.patch
index 4060650..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) {                                                  \
  #include <board_bcm963xx.h>
  
  #define PFX   "board_bcm963xx: "
-@@ -943,6 +944,8 @@ int __init board_register_devices(void)
+@@ -939,6 +940,8 @@ int __init board_register_devices(void)
        if (board.num_spis)
                spi_register_board_info(board.spis, board.num_spis);
  
This page took 0.027034 seconds and 4 git commands to generate.