ess spaces)
In struct nvif_push, "cur" is of type u32 *, whereas
dmac->_push.mem.object.map.ptr is of type void __iomem *.
Converting push->cur to u32 __iomem * to fix above sparse
error.
Fixes: 9cf06d6ef7fd ("drm/nouveau/disp: fix cast removes address space of
expression warnin
->uses_dpcd) {
|^~
The problem is solved by adding the CONFIG_DRM_NOUVEAU_BACKLIGHT dependency
where struct nouveau_backlight is used.
Signed-off-by: Chen Jiahao
---
drivers/gpu/drm/nouveau/dispnv50/disp.c | 4
1 file changed, 4 insertions(+)
diff --git a/d