From: Stefano Babic Date: Sun, 15 Apr 2018 12:14:56 +0200 Subject: [U-Boot] [PATCH v3 1/3] imx: mx7: Fix CONFIG_SERIAL_TAG compilation In-Reply-To: <1522074454-16643-2-git-send-email-bryan.odonoghue@linaro.org> References: <1522074454-16643-1-git-send-email-bryan.odonoghue@linaro.org> <1522074454-16643-2-git-send-email-bryan.odonoghue@linaro.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 26/03/2018 16:27, Bryan O'Donoghue wrote: > Currently when we define CONFIG_SERIAL_TAG we will barf with a failure to > define "struct tag_serialnr". > > This structure is defined in , this patch includes > to fix. > > Signed-off-by: Bryan O'Donoghue > Cc: Fabio Estevam > Cc: Peng Fan > Cc: Stefano Babic > Reviewed-by: Fabio Estevam > --- > arch/arm/mach-imx/mx7/soc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c > index d349676..1602585 100644 > --- a/arch/arm/mach-imx/mx7/soc.c > +++ b/arch/arm/mach-imx/mx7/soc.c > @@ -18,6 +18,7 @@ > #include > #include > #include > +#include > > #if defined(CONFIG_IMX_THERMAL) > static const struct imx_thermal_plat imx7_thermal_plat = { > Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================