drm/msm/dpu: fix mismatch in function argument.
authorzhong jiang <zhongjiang@huawei.com>
Tue, 24 Jul 2018 11:51:59 +0000 (19:51 +0800)
committerRob Clark <robdclark@gmail.com>
Mon, 30 Jul 2018 12:50:12 +0000 (08:50 -0400)
Fix the sparse error. the dpu_rm_init declaration is not consistent
with the implement.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
[robclark un-typo'd subject line]
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h

index ef3f67b..ffd1841 100644 (file)
@@ -105,7 +105,7 @@ struct dpu_rm_hw_iter {
  */
 int dpu_rm_init(struct dpu_rm *rm,
                struct dpu_mdss_cfg *cat,
-               void *mmio,
+               void __iomem *mmio,
                struct drm_device *dev);
 
 /**