]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
display5: Add missing environment.h include to avoid warning
authorLukasz Majewski <lukma@denx.de>
Fri, 11 May 2018 14:51:19 +0000 (16:51 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 18 Jun 2018 13:44:21 +0000 (15:44 +0200)
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

index a3deba216c72038599b3ac1ac58143dbbbab2b29..d8383170d2fadab375d1eba2cc5064dd8a6f6e12 100644 (file)
@@ -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>