sensors/lm_sensors-r6123-AnalogDev-ADT7410-driver.diff

24 lines
722 B
Diff
Raw Normal View History

Subject: Update Analog Devices ADT7410 detection
Upstream: yes, r6123
We have a driver for the ADT7410 since kernel 3.7.
ADT7420 is register compatible with the ADT7410.
---
prog/detect/sensors-detect | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- lm_sensors-3.3.3.orig/prog/detect/sensors-detect
+++ lm_sensors-3.3.3/prog/detect/sensors-detect
@@ -637,8 +637,8 @@ use vars qw(@i2c_adapter_names);
i2c_addrs => [0x2c..0x2e],
i2c_detect => sub { adt7490_detect(@_); },
}, {
- name => "Analog Devices ADT7410",
- driver => "to-be-written",
+ name => "Analog Devices ADT7410/ADT7420",
+ driver => "adt7410",
i2c_addrs => [0x48..0x4b],
i2c_detect => sub { adt7410_detect(@_); },
}, {