aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.3/980-wnr834b_no_cardbus_invariant.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2012-08-18 14:08:35 +0000
committerHauke Mehrtens <hauke@openwrt.org>2012-08-18 14:08:35 +0000
commit8a27d76db81d13c0b86bbf1b7ccc753c91044a12 (patch)
tree62dcb79cc972a6961dbb4b8dc21a61ea52c9258a /target/linux/brcm47xx/patches-3.3/980-wnr834b_no_cardbus_invariant.patch
parenta54983dbc4eee85c0b79c9822d30c821823825ac (diff)
downloadupstream-8a27d76db81d13c0b86bbf1b7ccc753c91044a12.tar.gz
upstream-8a27d76db81d13c0b86bbf1b7ccc753c91044a12.tar.bz2
upstream-8a27d76db81d13c0b86bbf1b7ccc753c91044a12.zip
[brcm47xx] make brcm47xx build only with bcma or only with ssb support.
There are some ifdefs missing so when only ssb or only bcma was selected in the kernel config it did not build. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33209 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.3/980-wnr834b_no_cardbus_invariant.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.3/980-wnr834b_no_cardbus_invariant.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-3.3/980-wnr834b_no_cardbus_invariant.patch b/target/linux/brcm47xx/patches-3.3/980-wnr834b_no_cardbus_invariant.patch
index c6de865c7e..7626c62abc 100644
--- a/target/linux/brcm47xx/patches-3.3/980-wnr834b_no_cardbus_invariant.patch
+++ b/target/linux/brcm47xx/patches-3.3/980-wnr834b_no_cardbus_invariant.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
-@@ -165,6 +165,10 @@ static int bcm47xx_get_invariants(struct
+@@ -151,6 +151,10 @@ static int bcm47xx_get_invariants(struct
if (nvram_getenv("cardbus", buf, sizeof(buf)) >= 0)
iv->has_cardbus_slot = !!simple_strtoul(buf, NULL, 10);