[kernel/2.6.32] MIPS: mark unused variables
[openwrt.git] / target / linux / brcm47xx / patches-3.2 / 0045-ssb-fix-cardbus-in-hostmode.patch
1 From 7b90e7040b9783b91a4e2baf72ac32d3a00f9f2d Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Sat, 21 Jan 2012 11:18:25 +0100
4 Subject: [PATCH 31/34] ssb: fix cardbus in hostmode
5
6
7 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 ---
9 drivers/ssb/driver_pcicore.c | 2 +-
10 1 files changed, 1 insertions(+), 1 deletions(-)
11
12 --- a/drivers/ssb/driver_pcicore.c
13 +++ b/drivers/ssb/driver_pcicore.c
14 @@ -75,7 +75,7 @@ static u32 get_cfgspace_addr(struct ssb_
15 u32 tmp;
16
17 /* We do only have one cardbus device behind the bridge. */
18 - if (pc->cardbusmode && (dev >= 1))
19 + if (pc->cardbusmode && (dev > 1))
20 goto out;
21
22 if (bus == 0) {
This page took 0.043613 seconds and 5 git commands to generate.