]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/w1/slaves/w1_therm.c
drivers/w1/slaves/w1_therm.c: add support for DS28EA00
[~shefty/rdma-dev.git] / drivers / w1 / slaves / w1_therm.c
index 17726a05a0a62849bcf09918b622b45fbd761351..402928b135d19c062a38a9008b0587a144b091d2 100644 (file)
@@ -86,6 +86,11 @@ static struct w1_family w1_therm_family_DS1822 = {
        .fops = &w1_therm_fops,
 };
 
        .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;
 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_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])
 };
 
 static inline int w1_DS18B20_convert_temp(u8 rom[9])