[U-Boot] [PATCH v1 21/21] display5: Add missing environment.h include to avoid warning

Lukasz Majewski lukma at denx.de
Fri May 11 14:51:19 UTC 2018


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 at 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.11.0



More information about the U-Boot mailing list