diff mbox series

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

Message ID 20180511145119.20942-22-lukma@denx.de
State Accepted
Commit 2c09dbf4250be1f6c8fc391cc1882df35b47a421
Delegated to: Stefano Babic
Headers show
Series This patch series brings in sync DISPLAY5 internal | expand

Commit Message

Lukasz Majewski May 11, 2018, 2:51 p.m. UTC
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 mbox series

Patch

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>