This is likely fallout from ARRAY_SIZE no longer being defined indirectly via inclusion of <linux/list.h> transitively in other headers. Fix this by adding an explicit inclusion of <linux/kernel.h>. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- drivers/pmdomain/imx/imx8mp-blk-ctrl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pmdomain/imx/imx8mp-blk-ctrl.c b/drivers/pmdomain/imx/imx8mp-blk-ctrl.c index b71a4a793761..3d302cbde7dc 100644 --- a/drivers/pmdomain/imx/imx8mp-blk-ctrl.c +++ b/drivers/pmdomain/imx/imx8mp-blk-ctrl.c @@ -5,6 +5,7 @@ */ #include <linux/bitfield.h> +#include <linux/kernel.h> #include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/device.h> -- 2.39.5