]> Git Repo - u-boot.git/commitdiff
w1: mxc: fix build
authorMartin Fuzzey <[email protected]>
Wed, 13 Jan 2021 10:21:03 +0000 (11:21 +0100)
committerStefano Babic <[email protected]>
Sat, 23 Jan 2021 10:30:31 +0000 (11:30 +0100)
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/w1/mxc_w1.c

index 3637febc0c5dee5f99ad2016e916b2127db760e0..b96c1a00bf243d124ccdbbe47ec56db7fd1e968c 100644 (file)
@@ -17,8 +17,8 @@
  * Martin Fuzzey <[email protected]>
  */
 
-#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>
This page took 0.032946 seconds and 4 git commands to generate.