iommu/fsl_pamu: Use dev_is_pci() to check whether it is pci device
authorYijing Wang <wangyijing@huawei.com>
Thu, 5 Dec 2013 11:42:49 +0000 (19:42 +0800)
committerJoerg Roedel <joro@8bytes.org>
Tue, 7 Jan 2014 14:23:08 +0000 (15:23 +0100)
commitb3eb76d17570bd17d280e5d7deb8aad6b6d83d8a
treeaffe32822006db09ebc9ea39581776b5ad5daf6d
parentd6e0a2dd12f4067a5bcefb8bbd8ddbeff800afbc
iommu/fsl_pamu: 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>
Acked-by: Varun Sethi <varun.sethi@freescale.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/fsl_pamu_domain.c