summaryrefslogtreecommitdiff
path: root/drivers/misc/eeprom/Kconfig
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2016-02-26 22:59:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-02 03:55:48 +0300
commit1c4b6e2c7534b9b193f440f77dd47e420a150288 (patch)
tree01c07e1ac4555bbf3f4050451ec3366aba331eff /drivers/misc/eeprom/Kconfig
parent5a99f570dab9f626d3b0b87a4ddf5de8c648aae8 (diff)
downloadlinux-1c4b6e2c7534b9b193f440f77dd47e420a150288.tar.xz
eeprom: 93xx46: extend driver to plug into the NVMEM framework
Add a regmap for accessing the EEPROM, and then use that with the NVMEM framework. Enable backward compatibility in the NVMEM config structure, so that the 'eeprom' file in sys is provided by the framework. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/eeprom/Kconfig')
-rw-r--r--drivers/misc/eeprom/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/eeprom/Kconfig b/drivers/misc/eeprom/Kconfig
index 8c43a222ae55..cfc493c2e30a 100644
--- a/drivers/misc/eeprom/Kconfig
+++ b/drivers/misc/eeprom/Kconfig
@@ -78,6 +78,8 @@ config EEPROM_93CX6
config EEPROM_93XX46
tristate "Microwire EEPROM 93XX46 support"
depends on SPI && SYSFS
+ select REGMAP
+ select NVMEM
help
Driver for the microwire EEPROM chipsets 93xx46x. The driver
supports both read and write commands and also the command to