From e43c7712447796c8a405984f5474584de7859b61 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 13 Jul 2011 09:33:11 +0000 Subject: [brcm63xx] fix GEN_SPI_RSET_BASE macro (#9697) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27604 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/patches-2.6.39/240-spi.patch | 2 +- target/linux/brcm63xx/patches-3.0/240-spi.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'target') 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 54bed22ca..848b2f6dc 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 835cf87ae..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) { \ -- cgit v1.2.3