diff options
author | Arseny Solokha <[email protected]> | 2019-07-16 18:12:36 +0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-07-25 14:39:51 +0200 |
commit | 1b5621832f9bd9899370ea6928462cd02ebe7dc0 (patch) | |
tree | 84728d2985e094a2554088ab20c9aaee09f4d4ec /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 10b0f1c227ed8236555318cb26933881b7e907f9 (diff) |
eeprom: make older eeprom drivers select NVMEM_SYSFS
misc/eeprom/{at24,at25,eeprom_93xx46} drivers all register their
corresponding devices in the nvmem framework in compat mode which requires
nvmem sysfs interface to be present. The latter, however, has been split
out from nvmem under a separate Kconfig in commit ae0c2d725512 ("nvmem:
core: add NVMEM_SYSFS Kconfig"). As a result, probing certain I2C-attached
EEPROMs now fails with
at24: probe of 0-0050 failed with error -38
because of a stub implementation of nvmem_sysfs_setup_compat()
in drivers/nvmem/nvmem.h. Update the nvmem dependency for these drivers
so they could load again:
at24 0-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
Cc: Adrian Bunk <[email protected]>
Cc: Bartosz Golaszewski <[email protected]>
Cc: Srinivas Kandagatla <[email protected]>
Cc: [email protected] # v5.2+
Signed-off-by: Arseny Solokha <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions