From: Frieder Schrempf <frieder.schre...@kontron.de> The header from the local directory should use double quotes instead of brackets. Otherwise the compiler might not search the local directory.
Fixes: 93935acc6f1d ("imx: imx6ul: kontron-sl-mx6ul: Select correct boot and env device") Signed-off-by: Frieder Schrempf <frieder.schre...@kontron.de> --- board/kontron/sl-mx6ul/sl-mx6ul-common.c | 2 +- board/kontron/sl-mx6ul/sl-mx6ul.c | 3 ++- board/kontron/sl-mx6ul/spl.c | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/board/kontron/sl-mx6ul/sl-mx6ul-common.c b/board/kontron/sl-mx6ul/sl-mx6ul-common.c index 1f24acdfa3d..bda71a330ca 100644 --- a/board/kontron/sl-mx6ul/sl-mx6ul-common.c +++ b/board/kontron/sl-mx6ul/sl-mx6ul-common.c @@ -6,7 +6,7 @@ #include <asm/types.h> #include <asm/arch/sys_proto.h> -#include <sl-mx6ul-common.h> +#include "sl-mx6ul-common.h" bool sl_mx6ul_is_spi_nor_boot(void) { diff --git a/board/kontron/sl-mx6ul/sl-mx6ul.c b/board/kontron/sl-mx6ul/sl-mx6ul.c index 0f45ea84fc7..16d89c64d61 100644 --- a/board/kontron/sl-mx6ul/sl-mx6ul.c +++ b/board/kontron/sl-mx6ul/sl-mx6ul.c @@ -9,7 +9,8 @@ #include <env_internal.h> #include <fdt_support.h> #include <phy.h> -#include <sl-mx6ul-common.h> + +#include "sl-mx6ul-common.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/kontron/sl-mx6ul/spl.c b/board/kontron/sl-mx6ul/spl.c index 33e5337bcbc..8d55273dd9c 100644 --- a/board/kontron/sl-mx6ul/spl.c +++ b/board/kontron/sl-mx6ul/spl.c @@ -18,7 +18,8 @@ #include <linux/sizes.h> #include <linux/errno.h> #include <mmc.h> -#include <sl-mx6ul-common.h> + +#include "sl-mx6ul-common.h" DECLARE_GLOBAL_DATA_PTR; -- 2.50.1