提交 e46e5dc2 编写于 作者: L Lars-Peter Clausen 提交者: Guenter Roeck

hwmon: (adt7410) Add device table entry for the adt7420

The adt7420 is software compatible to the adt7410.
Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
Reviewed-by: NHartmut Knaack <knaack.h@gmx.de>
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
上级 54be068d
...@@ -180,11 +180,11 @@ config SENSORS_ADM9240 ...@@ -180,11 +180,11 @@ config SENSORS_ADM9240
will be called adm9240. will be called adm9240.
config SENSORS_ADT7410 config SENSORS_ADT7410
tristate "Analog Devices ADT7410" tristate "Analog Devices ADT7410/ADT7420"
depends on I2C depends on I2C
help help
If you say yes here you get support for the Analog Devices If you say yes here you get support for the Analog Devices
ADT7410 temperature monitoring chip. ADT7410 and ADT7420 temperature monitoring chips.
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 adt7410. will be called adt7410.
......
...@@ -407,6 +407,7 @@ static int adt7410_remove(struct i2c_client *client) ...@@ -407,6 +407,7 @@ static int adt7410_remove(struct i2c_client *client)
static const struct i2c_device_id adt7410_ids[] = { static const struct i2c_device_id adt7410_ids[] = {
{ "adt7410", adt7410, }, { "adt7410", adt7410, },
{ "adt7420", adt7410, },
{ /* LIST END */ } { /* LIST END */ }
}; };
MODULE_DEVICE_TABLE(i2c, adt7410_ids); MODULE_DEVICE_TABLE(i2c, adt7410_ids);
...@@ -455,5 +456,5 @@ static struct i2c_driver adt7410_driver = { ...@@ -455,5 +456,5 @@ static struct i2c_driver adt7410_driver = {
module_i2c_driver(adt7410_driver); module_i2c_driver(adt7410_driver);
MODULE_AUTHOR("Hartmut Knaack"); MODULE_AUTHOR("Hartmut Knaack");
MODULE_DESCRIPTION("ADT7410 driver"); MODULE_DESCRIPTION("ADT7410/ADT7420 driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册