diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2010-12-21 02:01:52 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-22 15:43:26 -0500 |
commit | 6b740aaa005474a7b135d3c554b9295c73eaab95 (patch) | |
tree | 49b2a0c303c8fce60359de9d5aff9d997269e8c6 /drivers/ssb | |
parent | 750de29109770f6b50daecc4c44aaa50a9e0075b (diff) | |
download | linux-6b740aaa005474a7b135d3c554b9295c73eaab95.tar.gz linux-6b740aaa005474a7b135d3c554b9295c73eaab95.tar.bz2 linux-6b740aaa005474a7b135d3c554b9295c73eaab95.zip |
ssb: Use pci_is_pcie()
Use function pci_is_pcie() instead of accessing struct member directly.
CC: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ssb')
-rw-r--r-- | drivers/ssb/scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ssb/scan.c b/drivers/ssb/scan.c index ee079ab9fb28..5a0985d4ce15 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; } } |