From: Martin Fuzzey Date: Wed, 13 Jan 2021 10:21:03 +0000 (+0100) Subject: w1: mxc: fix build X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=3f832699ff0be590422ac32e409320d684c25ab9;p=u-boot.git w1: mxc: fix build 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 Reviewed-by: Simon Glass --- diff --git a/drivers/w1/mxc_w1.c b/drivers/w1/mxc_w1.c index 3637febc0c..b96c1a00bf 100644 --- a/drivers/w1/mxc_w1.c +++ b/drivers/w1/mxc_w1.c @@ -17,8 +17,8 @@ * Martin Fuzzey */ -#include #include +#include #include #include #include