aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc/sba_iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parisc/sba_iommu.c')
-rw-r--r--drivers/parisc/sba_iommu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c
index a8405f05fb5f..6256ad365d0b 100644
--- a/drivers/parisc/sba_iommu.c
+++ b/drivers/parisc/sba_iommu.c
@@ -1600,7 +1600,7 @@ sba_ioc_init(struct parisc_device *sba, struct ioc *ioc, int ioc_num)
1600 1600
1601static void __iomem *ioc_remap(struct sba_device *sba_dev, int offset) 1601static void __iomem *ioc_remap(struct sba_device *sba_dev, int offset)
1602{ 1602{
1603 return ioremap(sba_dev->dev->hpa + offset, SBA_FUNC_SIZE); 1603 return ioremap(sba_dev->dev->hpa.start + offset, SBA_FUNC_SIZE);
1604} 1604}
1605 1605
1606static void sba_hw_init(struct sba_device *sba_dev) 1606static void sba_hw_init(struct sba_device *sba_dev)
@@ -1978,7 +1978,7 @@ sba_driver_callback(struct parisc_device *dev)
1978 u32 func_class; 1978 u32 func_class;
1979 int i; 1979 int i;
1980 char *version; 1980 char *version;
1981 void __iomem *sba_addr = ioremap(dev->hpa, SBA_FUNC_SIZE); 1981 void __iomem *sba_addr = ioremap(dev->hpa.start, SBA_FUNC_SIZE);
1982 1982
1983 sba_dump_ranges(sba_addr); 1983 sba_dump_ranges(sba_addr);
1984 1984
@@ -2020,7 +2020,7 @@ sba_driver_callback(struct parisc_device *dev)
2020 } 2020 }
2021 2021
2022 printk(KERN_INFO "%s found %s at 0x%lx\n", 2022 printk(KERN_INFO "%s found %s at 0x%lx\n",
2023 MODULE_NAME, version, dev->hpa); 2023 MODULE_NAME, version, dev->hpa.start);
2024 2024
2025 sba_dev = kmalloc(sizeof(struct sba_device), GFP_KERNEL); 2025 sba_dev = kmalloc(sizeof(struct sba_device), GFP_KERNEL);
2026 if (!sba_dev) { 2026 if (!sba_dev) {