Skip to content
Commit d317ac17 authored by Yijing Wang's avatar Yijing Wang Committed by Benjamin Herrenschmidt
Browse files

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: default avatarYijing Wang <wangyijing@huawei.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 5877231f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment