]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb06dc3027170a67b5ae94e8e90ccb34f4099338b
treefe11430099b131d8517fd6e2fed0bcdcaa4df303
parentfb9be48c06ca6c21d45fd07037a12196adcb391d
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: fb9be48c06ca 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