From 2c09dbf4250be1f6c8fc391cc1882df35b47a421 Mon Sep 17 00:00:00 2001 From: Lukasz Majewski <lukma@denx.de> Date: Fri, 11 May 2018 16:51:19 +0200 Subject: [PATCH] display5: Add missing environment.h include to avoid warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Without this change the following warning shows up when building: board/liebherr/display5/display5.c:270:3: warning: implicit declaration of function âeth_env_set_enetaddrâ [-Wimplicit-function-declaration] This commit fixes this issue. Signed-off-by: Lukasz Majewski <lukma@denx.de> --- board/liebherr/display5/display5.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/liebherr/display5/display5.c b/board/liebherr/display5/display5.c index a3deba216c..d8383170d2 100644 --- a/board/liebherr/display5/display5.c +++ b/board/liebherr/display5/display5.c @@ -25,6 +25,7 @@ #include <miiphy.h> #include <netdev.h> #include <i2c.h> +#include <environment.h> #include <dm.h> #include <dm/platform_data/serial_mxc.h> -- 2.39.5