[PATCH] pmdomain: mediatek: Fix build-errors

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Thu Oct 23 22:53:15 PDT 2025


Il 23/10/25 13:44, Ulf Hansson ha scritto:
> Let's add the missing header to fix the reported build-errors.
> 

Ouch. Sorry about that.


Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>

> Fixes: df4e9ec1ed86 ("pmdomain: mediatek: Add support for secure HWCCF infra power on")
> Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202510231317.ZZxNaFG0-lkp@intel.com/
> Signed-off-by: Ulf Hansson <ulf.hansson at linaro.org>
> ---
>   drivers/pmdomain/mediatek/mtk-pm-domains.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/pmdomain/mediatek/mtk-pm-domains.c b/drivers/pmdomain/mediatek/mtk-pm-domains.c
> index ac144ab8fce0..164c6b519af3 100644
> --- a/drivers/pmdomain/mediatek/mtk-pm-domains.c
> +++ b/drivers/pmdomain/mediatek/mtk-pm-domains.c
> @@ -2,6 +2,7 @@
>   /*
>    * Copyright (c) 2020 Collabora Ltd.
>    */
> +#include <linux/arm-smccc.h>
>   #include <linux/clk.h>
>   #include <linux/clk-provider.h>
>   #include <linux/init.h>





More information about the linux-arm-kernel mailing list