diff options
Diffstat (limited to 'arch/powerpc/kernel/vio.c')
-rw-r--r-- | arch/powerpc/kernel/vio.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/vio.c b/arch/powerpc/kernel/vio.c index fd631d4d1602..eaf7f6992a2f 100644 --- a/arch/powerpc/kernel/vio.c +++ b/arch/powerpc/kernel/vio.c | |||
@@ -49,11 +49,8 @@ static struct vio_dev vio_bus_device = { /* fake "parent" device */ | |||
49 | }; | 49 | }; |
50 | 50 | ||
51 | #ifdef CONFIG_PPC_ISERIES | 51 | #ifdef CONFIG_PPC_ISERIES |
52 | struct device *iSeries_vio_dev = &vio_bus_device.dev; | ||
53 | EXPORT_SYMBOL(iSeries_vio_dev); | ||
54 | |||
55 | static struct iommu_table veth_iommu_table; | 52 | static struct iommu_table veth_iommu_table; |
56 | static struct iommu_table vio_iommu_table; | 53 | struct iommu_table vio_iommu_table; |
57 | 54 | ||
58 | static void __init iommu_vio_init(void) | 55 | static void __init iommu_vio_init(void) |
59 | { | 56 | { |
@@ -66,8 +63,6 @@ static void __init iommu_vio_init(void) | |||
66 | printk("Virtual Bus VETH TCE table failed.\n"); | 63 | printk("Virtual Bus VETH TCE table failed.\n"); |
67 | if (!iommu_init_table(&vio_iommu_table, -1)) | 64 | if (!iommu_init_table(&vio_iommu_table, -1)) |
68 | printk("Virtual Bus VIO TCE table failed.\n"); | 65 | printk("Virtual Bus VIO TCE table failed.\n"); |
69 | vio_bus_device.dev.archdata.dma_ops = &dma_iommu_ops; | ||
70 | vio_bus_device.dev.archdata.dma_data = &vio_iommu_table; | ||
71 | } | 66 | } |
72 | #else | 67 | #else |
73 | static void __init iommu_vio_init(void) | 68 | static void __init iommu_vio_init(void) |