[PATCH 11/20] arm: phyflex-imx6: move common.h before other includes
Sascha Hauer
s.hauer at pengutronix.de
Mon Nov 24 04:52:08 PST 2014
On Mon, Nov 24, 2014 at 12:06:51PM +0100, Lucas Stach wrote:
> Fixes: include/envfs.h:124:10: error: 'ENOSYS' undeclared
>
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
> ---
> arch/arm/boards/phytec-phyflex-imx6/board.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boards/phytec-phyflex-imx6/board.c b/arch/arm/boards/phytec-phyflex-imx6/board.c
> index 09a5c79a9ade..1d6602c0ef26 100644
> --- a/arch/arm/boards/phytec-phyflex-imx6/board.c
> +++ b/arch/arm/boards/phytec-phyflex-imx6/board.c
> @@ -17,10 +17,10 @@
> *
> */
>
> +#include <common.h>
> #include <envfs.h>
> #include <environment.h>
> #include <bootsource.h>
> -#include <common.h>
Isn't the correct fix to include <errno.h> from <envfs.h> then?
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list