summaryrefslogtreecommitdiff
path: root/drivers/ssb/driver_pcicore.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2008-02-28 15:11:26 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-02-28 09:29:58 -0500
commit2d8d4fdf78488f3362dccfd2a6bfdb4bc65c0858 (patch)
treece184f8e2d3e8b58e31b678bd100ff2e3f3088f4 /drivers/ssb/driver_pcicore.c
parentf9d8f88952c263a4eeaaa0fc6ff726d2315b6a57 (diff)
downloadlwn-2d8d4fdf78488f3362dccfd2a6bfdb4bc65c0858.tar.gz
lwn-2d8d4fdf78488f3362dccfd2a6bfdb4bc65c0858.zip
SSB PCI core driver: use new SPROM data structure
Switch the SSB PCI core driver to the new SPROM data structure now that the old one has been removed. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Acked-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ssb/driver_pcicore.c')
-rw-r--r--drivers/ssb/driver_pcicore.c2
1 files changed, 1 insertions, 1 deletions
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