VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2012-03-09 12:35:53 -0800 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2012-03-09 12:35:53 -0800 commit: 263a5c8e16c34199ddf6de3f102e789ffa3ee26e parent: 54d20f006ceff1f2f1e69d0e54049b6c0765c039
Commit Summary:
Merge 3.3-rc6 into driver-core-next
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) {