]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
SSB PCI core driver: use new SPROM data structure
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 28 Feb 2008 14:11:26 +0000 (15:11 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Feb 2008 14:29:58 +0000 (09:29 -0500)
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>
drivers/ssb/driver_pcicore.c

index 6d99a98800559f9daf1df56e96c01217b2b92b5c..07ab48d9ceab1f70e3b06abd9ad5670d719adf91 100644 (file)
@@ -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