]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pci: Use dev_is_pci() to check whether it is pci device
authorYijing Wang <wangyijing@huawei.com>
Thu, 5 Dec 2013 12:01:20 +0000 (20:01 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 9 Dec 2013 00:40:24 +0000 (11:40 +1100)
commit8bfc26200824b0c97a3ba9620000e5e1a1ad3d43
tree43d196980935adf43f898b8343c2500c5760d2ca
parent23aaebb8c74eb5f17e5b8d29e33b25f7a031e8f3
powerpc/pci: Use dev_is_pci() to check whether it is pci device

Use PCI standard marco dev_is_pci() instead of directly compare
pci_bus_type to check whether it is pci device.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/fsl_pci.c