PCI: Add new pci_is_bridge() interface
authorYijing Wang <wangyijing@huawei.com>
Sun, 4 May 2014 04:23:37 +0000 (12:23 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 27 May 2014 18:21:02 +0000 (12:21 -0600)
commit1c86438c9423a26cc9f7f74a8950d9cf9c93bc23
treefe11430099b131d8517fd6e2fed0bcdcaa4df303
parent326c1cdae74186bfab3464e8f3378c7fa324be12
PCI: Add new pci_is_bridge() interface

Add a helper function to check a device's header type for PCI bridge or
CardBus bridge.

Requires: 326c1cdae741 PCI: Rename pci_is_bridge() to pci_has_subordinate()
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/linux/pci.h