diff options
| author | Bryan O'Donoghue <[email protected]> | 2018-03-26 15:27:32 +0100 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2018-04-15 11:44:13 +0200 |
| commit | ca83182226d2300722ebbb44e8f291678606b568 (patch) | |
| tree | bfd6c7ce6ee277a17e5360811fc38c1628ac6749 | |
| parent | 14eeb683a862bf64e6b6383b888c42bbe2a50e7b (diff) | |
imx: mx7: Fix CONFIG_SERIAL_TAG compilation
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]>
| -rw-r--r-- | arch/arm/mach-imx/mx7/soc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c index d349676b811..16025855646 100644 --- a/arch/arm/mach-imx/mx7/soc.c +++ b/arch/arm/mach-imx/mx7/soc.c @@ -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 = { |
