Commit 2ddfac4e authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman

[PATCH] I2c: Kconfig for non-sensors i2c chip drivers

Quoting myself:

> I think that it would make sense to have a specific menu entry for
> these, separate from the sensors stuff. Looks like an easy thing to
> do.

Here is a proposed patch that does this. Comments welcome.
parent 73126bc4
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# I2C Sensor device configuration # I2C Sensor device configuration
# #
menu "I2C Hardware Sensors Chip support" menu "Hardware Sensors Chip support"
depends on I2C depends on I2C
config I2C_SENSOR config I2C_SENSOR
...@@ -33,18 +33,6 @@ config SENSORS_ASB100 ...@@ -33,18 +33,6 @@ config SENSORS_ASB100
This driver can also be built as a module. If so, the module This driver can also be built as a module. If so, the module
will be called asb100. will be called asb100.
config SENSORS_EEPROM
tristate "EEPROM (DIMM) reader"
depends on I2C && EXPERIMENTAL
select I2C_SENSOR
help
If you say yes here you get read-only access to the EEPROM data
available on modern memory DIMMs, and which could theoretically
also be available on other devices.
This driver can also be built as a module. If so, the module
will be called eeprom.
config SENSORS_FSCHER config SENSORS_FSCHER
tristate "FSC Hermes" tristate "FSC Hermes"
depends on I2C && EXPERIMENTAL depends on I2C && EXPERIMENTAL
...@@ -194,3 +182,20 @@ config SENSORS_W83627HF ...@@ -194,3 +182,20 @@ config SENSORS_W83627HF
will be called w83627hf. will be called w83627hf.
endmenu endmenu
menu "Other I2C Chip support"
depends on I2C
config SENSORS_EEPROM
tristate "EEPROM reader"
depends on I2C && EXPERIMENTAL
select I2C_SENSOR
help
If you say yes here you get read-only access to the EEPROM data
available on modern memory DIMMs and Sony Vaio laptops. Such
EEPROMs could theoretically be available on other devices as well.
This driver can also be built as a module. If so, the module
will be called eeprom.
endmenu
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment