VisionFive2 Linux kernel

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

More than 9999 Commits   35 Branches   59 Tags
author: Aurelien Jarno <aurelien@aurel32.net> 2008-02-28 15:11:26 +0100 committer: John W. Linville <linville@tuxdriver.com> 2008-02-28 09:29:58 -0500 commit: 2d8d4fdf78488f3362dccfd2a6bfdb4bc65c0858 parent: f9d8f88952c263a4eeaaa0fc6ff726d2315b6a57
Commit Summary:
SSB PCI core driver: use new SPROM data structure
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/ssb/driver_pcicore.c b/drivers/ssb/driver_pcicore.c
index 6d99a9880055..07ab48d9ceab 100644
--- a/drivers/ssb/driver_pcicore.c
+++ b/drivers/ssb/driver_pcicore.c
@@ -393,7 +393,7 @@ static int pcicore_is_in_hostmode(struct ssb_pcicore *pc)
 	    chipid_top != 0x5300)
 		return 0;
 
-	if (bus->sprom.r1.boardflags_lo & SSB_PCICORE_BFL_NOPCI)
+	if (bus->sprom.boardflags_lo & SSB_PCICORE_BFL_NOPCI)
 		return 0;
 
 	/* The 200-pin BCM4712 package does not bond out PCI. Even when