author: Hauke Mehrtens <hauke@hauke-m.de> 2012-02-01 00:13:53 +0100
committer: John W. Linville <linville@tuxdriver.com> 2012-02-01 15:26:00 -0500
commit: a6c84622b7fa3ea5417a9d1d0ce0bc3e7fbe3be1
parent: 5fb8c182d26472ea24cbbadb6a3e355d7621cca4
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/ssb/driver_pcicore.c b/drivers/ssb/driver_pcicore.c
index 520e8286db28..49d209173f55 100644
--- a/drivers/ssb/driver_pcicore.c
+++ b/drivers/ssb/driver_pcicore.c
@@ -75,7 +75,7 @@ static u32 get_cfgspace_addr(struct ssb_pcicore *pc,
u32 tmp;
/* We do only have one cardbus device behind the bridge. */
- if (pc->cardbusmode && (dev >= 1))
+ if (pc->cardbusmode && (dev > 1))
goto out;
if (bus == 0) {