diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/iommu/msm_iommu_dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/msm_iommu_dev.c b/drivers/iommu/msm_iommu_dev.c index 9574d217227c..b6d01f97e537 100644 --- a/drivers/iommu/msm_iommu_dev.c +++ b/drivers/iommu/msm_iommu_dev.c | |||
@@ -131,7 +131,7 @@ static int msm_iommu_probe(struct platform_device *pdev) | |||
131 | struct clk *iommu_clk; | 131 | struct clk *iommu_clk; |
132 | struct clk *iommu_pclk; | 132 | struct clk *iommu_pclk; |
133 | struct msm_iommu_drvdata *drvdata; | 133 | struct msm_iommu_drvdata *drvdata; |
134 | struct msm_iommu_dev *iommu_dev = pdev->dev.platform_data; | 134 | struct msm_iommu_dev *iommu_dev = dev_get_platdata(&pdev->dev); |
135 | void __iomem *regs_base; | 135 | void __iomem *regs_base; |
136 | int ret, irq, par; | 136 | int ret, irq, par; |
137 | 137 | ||
@@ -263,7 +263,7 @@ static int msm_iommu_remove(struct platform_device *pdev) | |||
263 | 263 | ||
264 | static int msm_iommu_ctx_probe(struct platform_device *pdev) | 264 | static int msm_iommu_ctx_probe(struct platform_device *pdev) |
265 | { | 265 | { |
266 | struct msm_iommu_ctx_dev *c = pdev->dev.platform_data; | 266 | struct msm_iommu_ctx_dev *c = dev_get_platdata(&pdev->dev); |
267 | struct msm_iommu_drvdata *drvdata; | 267 | struct msm_iommu_drvdata *drvdata; |
268 | struct msm_iommu_ctx_drvdata *ctx_drvdata; | 268 | struct msm_iommu_ctx_drvdata *ctx_drvdata; |
269 | int i, ret; | 269 | int i, ret; |