Message ID | 20200119071050.16240-2-mrjoel@lixil.net |
---|---|
State | New |
Headers | show |
Series | Updates for ClearFog EEPROM | expand |
diff --git a/cmd/sys_eeprom.c b/cmd/sys_eeprom.c index 373673a526..9e9c1ae8ff 100644 --- a/cmd/sys_eeprom.c +++ b/cmd/sys_eeprom.c @@ -12,6 +12,7 @@ #include <i2c_eeprom.h> #include <env.h> #include <linux/ctype.h> +#include <u-boot/crc.h> #include "sys_eeprom.h"
This addresses the following compiler warning: ../cmd/sys_eeprom.c: In function ‘is_checksum_valid’: ../cmd/sys_eeprom.c:96:13: warning: implicit declaration of function ‘crc32’ [-Wimplicit-function-declaration] calc_crc = crc32(0, (void *)eeprom, ^~~~~ Signed-off-by: Joel Johnson <mrjoel at lixil.net> --- cmd/sys_eeprom.c | 1 + 1 file changed, 1 insertion(+)