Re: [U-Boot] [PATCH] i2c_eeprom: include linux/err.h to fix build error

2014-12-29 Thread Simon Glass
On 18 December 2014 at 06:18, Simon Glass s...@chromium.org wrote: On 18 December 2014 at 04:00, Masahiro Yamada yamad...@jp.panasonic.com wrote: drivers/misc/i2c_eeprom.c fails to build unless CONFIG_FIT_SIGNATURE is defined. CC drivers/misc/i2c_eeprom.o drivers/misc/i2c_eeprom.c:

[U-Boot] [PATCH] i2c_eeprom: include linux/err.h to fix build error

2014-12-18 Thread Masahiro Yamada
drivers/misc/i2c_eeprom.c fails to build unless CONFIG_FIT_SIGNATURE is defined. CC drivers/misc/i2c_eeprom.o drivers/misc/i2c_eeprom.c: In function 'i2c_eeprom_read': drivers/misc/i2c_eeprom.c:15:10: error: 'ENODEV' undeclared (first use in this function) drivers/misc/i2c_eeprom.c:15:10:

Re: [U-Boot] [PATCH] i2c_eeprom: include linux/err.h to fix build error

2014-12-18 Thread Simon Glass
On 18 December 2014 at 04:00, Masahiro Yamada yamad...@jp.panasonic.com wrote: drivers/misc/i2c_eeprom.c fails to build unless CONFIG_FIT_SIGNATURE is defined. CC drivers/misc/i2c_eeprom.o drivers/misc/i2c_eeprom.c: In function 'i2c_eeprom_read': drivers/misc/i2c_eeprom.c:15:10: