[PATCH] w1: mxc: fix build

Simon Glass sjg at chromium.org
Thu Jan 14 16:42:20 CET 2021


On Wed, 13 Jan 2021 at 03:21, Martin Fuzzey
<martin.fuzzey at flowbird.group> wrote:
>
> Now that header files no longer include common.h it must be included
> first.
>
> Otherwise the build fails with errors like
>         include/asm/arch/clock.h:43:1: error: unknown type name 'u32'
>          u32 imx_get_uartclk(void);
>
> Fixes: c3dc39a2f85b ("arm: Don't include common.h in header files")
>
> Signed-off-by: Martin Fuzzey <martin.fuzzey at flowbird.group>
> ---
>  drivers/w1/mxc_w1.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list