imx: mx7: Fix CONFIG_SERIAL_TAG compilation
authorBryan O'Donoghue <[email protected]>
Mon, 26 Mar 2018 14:27:32 +0000 (15:27 +0100)
committerStefano Babic <[email protected]>
Sun, 15 Apr 2018 09:44:13 +0000 (11:44 +0200)
Currently when we define CONFIG_SERIAL_TAG we will barf with a failure to
define "struct tag_serialnr".

This structure is defined in <asm/setup.h>, this patch includes
<asm/setup.h> to fix.

Signed-off-by: Bryan O'Donoghue <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
arch/arm/mach-imx/mx7/soc.c

index d349676b8116b04c5ba7cf6975955889d519f097..16025855646f7c09c42c2ad18ed64a1db96c22c8 100644 (file)
@@ -18,6 +18,7 @@
 #include <dm.h>
 #include <imx_thermal.h>
 #include <fsl_sec.h>
+#include <asm/setup.h>
 
 #if defined(CONFIG_IMX_THERMAL)
 static const struct imx_thermal_plat imx7_thermal_plat = {