On Mon, Apr 8, 2024 at 10:04 AM Ville Syrjala
<ville.syrj...@linux.intel.com> wrote:
>
> From: Ville Syrjälä <ville.syrj...@linux.intel.com>
>
> Include linux/io.h for readl()/writel().
>
> When built on x86_64 w/ COMPILE_TEST=y:
> ../drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h:93:16: error: implicit 
> declaration of function ‘readl’ [-Werror=implicit-function-declaration]
>    93 |         orig = readl(addr);
>       |                ^~~~~
> ../drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h:96:9: error: implicit 
> declaration of function ‘writel’ [-Werror=implicit-function-declaration]
>    96 |         writel(tmp, addr);
>       |         ^~~~~~
>
> Cc: Xinliang Liu <xinliang....@linaro.org>
> Cc: Tian Tao <tiant...@hisilicon.com>
> Cc: Xinwei Kong <kong.kongxin...@hisilicon.com>
> Cc: Sumit Semwal <sumit.sem...@linaro.org>
> Cc: Yongqin Liu <yongqin....@linaro.org>
> Cc: John Stultz <jstu...@google.com>
> Signed-off-by: Ville Syrjälä <ville.syrj...@linux.intel.com>

Acked-by: John Stultz <jstu...@google.com>

Reply via email to