From: Florian Fainelli Date: Wed, 13 Jul 2011 09:33:11 +0000 (+0000) Subject: [brcm63xx] fix GEN_SPI_RSET_BASE macro (#9697) X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=3a52eb185d2129cb5bea2b0ca760602d333732b6;p=openwrt%2Fsvn-archive%2Farchive.git [brcm63xx] fix GEN_SPI_RSET_BASE macro (#9697) SVN-Revision: 27604 --- diff --git a/target/linux/brcm63xx/patches-2.6.39/240-spi.patch b/target/linux/brcm63xx/patches-2.6.39/240-spi.patch index 54bed22ca4..848b2f6dc7 100644 --- a/target/linux/brcm63xx/patches-2.6.39/240-spi.patch +++ b/target/linux/brcm63xx/patches-2.6.39/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) { \ diff --git a/target/linux/brcm63xx/patches-3.0/240-spi.patch b/target/linux/brcm63xx/patches-3.0/240-spi.patch index 835cf87ae7..6de3f3cb0d 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) { \