PCI: mark is_pcie obsolete
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 9 Feb 2010 03:21:27 +0000 (12:21 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 23 Feb 2010 00:17:26 +0000 (16:17 -0800)
commit6d3be84aab461815978d970aa45f5bc9e52dd772
treeb81755ad2a384c225c2b707591ef3df049b0653e
parent9958610552c0bd7558b41cb8addbd865587f142a
PCI: mark is_pcie obsolete

The "is_pcie" field in struct pci_dev is no longer needed because
struct pci_dev has PCIe capability offset in "pcie_cap" field and
(pcie_cap != 0) means the device is PCIe capable. This patch marks
"is_pcie" fields obsolete.

Current users of "is_pcie" field are:

- drivers/ssb/scan.c
- drivers/net/wireless/ath/ath9k/pci.c
- drivers/net/wireless/ath/ath5k/attach.c
- drivers/net/wireless/ath/ath5k/reset.c
- drivers/acpi/hest.c
- drivers/pci/pcie/pme/pcie_pme.c

Will post patches for each to use pci_is_pcie() as a follow-up.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
include/linux/pci.h