uboot/drivers/misc
Masahiro Yamada ee5ee87642 i2c_eeprom: include <linux/err.h> to fix build error
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: note: each undeclared identifier
is reported only once for each function it appears in
drivers/misc/i2c_eeprom.c: In function 'i2c_eeprom_write':
drivers/misc/i2c_eeprom.c:21:10: error: 'ENODEV' undeclared
(first use in this function)
drivers/misc/i2c_eeprom.c:22:1: warning: control reaches end of
non-void function [-Wreturn-type]
drivers/misc/i2c_eeprom.c: In function 'i2c_eeprom_read':
drivers/misc/i2c_eeprom.c:16:1: warning: control reaches end of
non-void function [-Wreturn-type]
make[2]: *** [drivers/misc/i2c_eeprom.o] Error 1
make[1]: *** [drivers/misc] Error 2
make: *** [drivers] Error 2

By the way, Sandbox (enabling CONFIG_FIT_SIGNATURE) is luckily
working depending on it.
Sandbox includes include/asm-generic/errno.h
            from include/errno.h
            from include/u-boot/rsa-checksum.h
            from include/image.h
            from include/common.h
            from drivers/misc/i2c_eeprom.c

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
2015-01-05 17:45:15 -07:00
..
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile x86: Add a simple superio driver for SMSC LPC47M 2014-12-13 22:32:05 -07:00
ali512x.c
cbmem_console.c
cros_ec.c cros_ec: Fix uninitialised variable in cros_ec.c 2014-11-22 10:16:48 +01:00
cros_ec_i2c.c
cros_ec_lpc.c x86: cros_ec: Update LPC driver for new cros_ec header 2014-10-22 21:50:32 -06:00
cros_ec_sandbox.c dm: sandbox: cros_ec: Move sandbox cros_ec to driver module 2014-10-22 10:36:53 -06:00
cros_ec_spi.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
ds4510.c
fsl_ifc.c
fsl_iim.c
gpio_led.c
i2c_eeprom.c i2c_eeprom: include <linux/err.h> to fix build error 2015-01-05 17:45:15 -07:00
i2c_eeprom_emul.c dm: i2c: Add an I2C EEPROM simulator 2014-12-11 13:18:42 -07:00
mc9sdz60.c
mxc_ocotp.c mxc_ocotp: Do not disable the OCOTP clock after every access 2014-12-01 10:20:19 +01:00
mxs_ocotp.c mxs_ocotp: clear the error flag before initiating write operation 2014-12-01 10:19:42 +01:00
ns87308.c
pdsp188x.c
smsc_lpc47m.c x86: Add a simple superio driver for SMSC LPC47M 2014-12-13 22:32:05 -07:00
status_led.c
twl4030_led.c