w1: mxc: fix build
authorMartin Fuzzey <martin.fuzzey@flowbird.group>
Wed, 13 Jan 2021 10:21:03 +0000 (11:21 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 23 Jan 2021 10:30:31 +0000 (11:30 +0100)
commit3f832699ff0be590422ac32e409320d684c25ab9
tree1afbc4b56d509e51d13662ec5ef532d1a565d8ad
parent9452d58e1064aa55d75263e7a5134043688671f2
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>
drivers/w1/mxc_w1.c