浏览代码

display5: Add missing environment.h include to avoid warning

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>
Lukasz Majewski 7 年之前
父节点
当前提交
2c09dbf425
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      board/liebherr/display5/display5.c

+ 1 - 0
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>