From: Hauke Mehrtens Date: Tue, 21 Dec 2010 01:01:52 +0000 (+0100) Subject: ssb: Use pci_is_pcie() X-Git-Tag: v2.6.38-rc1~476^2~14^2~3^2~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b740aaa005474a7b135d3c554b9295c73eaab95;p=platform%2Fupstream%2Fkernel-adaptation-pc.git ssb: Use pci_is_pcie() Use function pci_is_pcie() instead of accessing struct member directly. CC: Michael Buesch Signed-off-by: Hauke Mehrtens Signed-off-by: John W. Linville --- diff --git a/drivers/ssb/scan.c b/drivers/ssb/scan.c index ee079ab..5a0985d 100644 --- a/drivers/ssb/scan.c +++ b/drivers/ssb/scan.c @@ -405,10 +405,10 @@ int ssb_bus_scan(struct ssb_bus *bus, /* Ignore PCI cores on PCI-E cards. * Ignore PCI-E cores on PCI cards. */ if (dev->id.coreid == SSB_DEV_PCI) { - if (bus->host_pci->is_pcie) + if (pci_is_pcie(bus->host_pci)) continue; } else { - if (!bus->host_pci->is_pcie) + if (!pci_is_pcie(bus->host_pci)) continue; } }