[PATCH] drm/msm/dp: include linux/io.h

Abel Vesa abel.vesa at linaro.org
Fri Jun 20 13:40:59 UTC 2025


On 25-06-20 14:47:43, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
> 
> The driver started using readl/writel, which are defined in linux/io.h,
> so this needs to be included here:
> 
> drivers/gpu/drm/msm/dp/dp_panel.c:33:9: error: call to undeclared function 'readl_relaxed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
>    33 |         return readl_relaxed(panel->link_base + offset);
> 
> Fixes: 9d47325ee063 ("drm/msm/dp: drop the msm_dp_catalog module")
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Reviewed-by: Abel Vesa <abel.vesa at linaro.org>


More information about the Freedreno mailing list