ppc64 iSeries: use device_node instead of iSeries_Device_node
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / ppc64 / kernel / pci_iommu.c
index 19362ea115725dbf6eaeb636e5d71d458756585a..6c9dc67f59d821b3338c28f26a3f95b956a2e8f1 100644 (file)
@@ -61,13 +61,7 @@ static inline struct iommu_table *devnode_table(struct device *dev)
        } else
                pdev = to_pci_dev(dev);
 
-#ifdef CONFIG_PPC_ISERIES
-       return ISERIES_DEVNODE(pdev)->iommu_table;
-#endif /* CONFIG_PPC_ISERIES */
-
-#ifdef CONFIG_PPC_MULTIPLATFORM
        return PCI_DN(PCI_GET_DN(pdev))->iommu_table;
-#endif /* CONFIG_PPC_MULTIPLATFORM */
 }