diff options
Diffstat (limited to 'drivers/gpu/drm/msm/msm_mmu.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_mmu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/msm/msm_mmu.h b/drivers/gpu/drm/msm/msm_mmu.h index 21da6d154f71..7cd88d9dc155 100644 --- a/drivers/gpu/drm/msm/msm_mmu.h +++ b/drivers/gpu/drm/msm/msm_mmu.h | |||
@@ -32,17 +32,17 @@ struct msm_mmu_funcs { | |||
32 | 32 | ||
33 | struct msm_mmu { | 33 | struct msm_mmu { |
34 | const struct msm_mmu_funcs *funcs; | 34 | const struct msm_mmu_funcs *funcs; |
35 | struct drm_device *dev; | 35 | struct device *dev; |
36 | }; | 36 | }; |
37 | 37 | ||
38 | static inline void msm_mmu_init(struct msm_mmu *mmu, struct drm_device *dev, | 38 | static inline void msm_mmu_init(struct msm_mmu *mmu, struct device *dev, |
39 | const struct msm_mmu_funcs *funcs) | 39 | const struct msm_mmu_funcs *funcs) |
40 | { | 40 | { |
41 | mmu->dev = dev; | 41 | mmu->dev = dev; |
42 | mmu->funcs = funcs; | 42 | mmu->funcs = funcs; |
43 | } | 43 | } |
44 | 44 | ||
45 | struct msm_mmu *msm_iommu_new(struct drm_device *dev, struct iommu_domain *domain); | 45 | struct msm_mmu *msm_iommu_new(struct device *dev, struct iommu_domain *domain); |
46 | struct msm_mmu *msm_gpummu_new(struct drm_device *dev, struct msm_gpu *gpu); | 46 | struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu); |
47 | 47 | ||
48 | #endif /* __MSM_MMU_H__ */ | 48 | #endif /* __MSM_MMU_H__ */ |