X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7954e2cc55815d6797b5ad4f0d4376e4a5500896..de950268134cc6c5ac25a650c1809859a9d99637:/target/linux/brcm63xx/patches-3.0/240-spi.patch diff --git a/target/linux/brcm63xx/patches-3.0/240-spi.patch b/target/linux/brcm63xx/patches-3.0/240-spi.patch index 40606506f..6de3f3cb0 100644 --- a/target/linux/brcm63xx/patches-3.0/240-spi.patch +++ b/target/linux/brcm63xx/patches-3.0/240-spi.patch @@ -847,7 +847,7 @@ + +#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) { \ @@ -919,7 +919,7 @@ #include #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);