diff options
author | Christian Glindkamp <christian.glindkamp@taskit.de> | 2011-07-26 16:08:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 16:49:45 -0700 |
commit | f7b1371eb6b3ff72e38de220663b22f7cc9df296 (patch) | |
tree | 77befe95ffea3a30a5ca70ed2c7c18338516a779 /drivers/w1/slaves | |
parent | c958474b6d721ff09e4abf143efc07365d63aea5 (diff) | |
download | linux-3.10-f7b1371eb6b3ff72e38de220663b22f7cc9df296.tar.gz linux-3.10-f7b1371eb6b3ff72e38de220663b22f7cc9df296.tar.bz2 linux-3.10-f7b1371eb6b3ff72e38de220663b22f7cc9df296.zip |
drivers/w1/slaves/w1_therm.c: add support for DS28EA00
Signed-off-by: Christian Glindkamp <christian.glindkamp@taskit.de>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/w1/slaves')
-rw-r--r-- | drivers/w1/slaves/w1_therm.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/w1/slaves/w1_therm.c b/drivers/w1/slaves/w1_therm.c index 17726a05a0a..402928b135d 100644 --- a/drivers/w1/slaves/w1_therm.c +++ b/drivers/w1/slaves/w1_therm.c @@ -86,6 +86,11 @@ static struct w1_family w1_therm_family_DS1822 = { .fops = &w1_therm_fops, }; +static struct w1_family w1_therm_family_DS28EA00 = { + .fid = W1_THERM_DS28EA00, + .fops = &w1_therm_fops, +}; + struct w1_therm_family_converter { u8 broken; @@ -111,6 +116,10 @@ static struct w1_therm_family_converter w1_therm_families[] = { .f = &w1_therm_family_DS18B20, .convert = w1_DS18B20_convert_temp }, + { + .f = &w1_therm_family_DS28EA00, + .convert = w1_DS18B20_convert_temp + }, }; static inline int w1_DS18B20_convert_temp(u8 rom[9]) |