diff options
author | Martin Fuzzey <martin.fuzzey@flowbird.group> | 2021-01-13 11:21:03 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-01-23 11:30:31 +0100 |
commit | 3f832699ff0be590422ac32e409320d684c25ab9 (patch) | |
tree | 1afbc4b56d509e51d13662ec5ef532d1a565d8ad /drivers/w1 | |
parent | 9452d58e1064aa55d75263e7a5134043688671f2 (diff) | |
download | u-boot-3f832699ff0be590422ac32e409320d684c25ab9.zip u-boot-3f832699ff0be590422ac32e409320d684c25ab9.tar.gz u-boot-3f832699ff0be590422ac32e409320d684c25ab9.tar.bz2 |
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 <martin.fuzzey@flowbird.group>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/w1')
-rw-r--r-- | drivers/w1/mxc_w1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/mxc_w1.c b/drivers/w1/mxc_w1.c index 3637feb..b96c1a0 100644 --- a/drivers/w1/mxc_w1.c +++ b/drivers/w1/mxc_w1.c @@ -17,8 +17,8 @@ * Martin Fuzzey <martin.fuzzey@flowbird.group> */ -#include <asm/arch/clock.h> #include <common.h> +#include <asm/arch/clock.h> #include <dm.h> #include <dm/device_compat.h> #include <linux/bitops.h> |