]> git.sur5r.net Git - u-boot/blobdiff - drivers/hwmon/ds1722.c
Tegra114: Fix/update GP padcfg register struct
[u-boot] / drivers / hwmon / ds1722.c
index c19ee01393f087af4c294836d97d41bb911cee57..a46cd4dfb5a03a2d3642863382c6c787dbaaed0f 100644 (file)
@@ -1,9 +1,7 @@
 
 #include <common.h>
-
-#ifdef CONFIG_DS1722
-
-#include <ssi.h>
+#include <asm/ic/ssi.h>
+#include <ds1722.h>
 
 static void ds1722_select(int dev)
 {
@@ -138,5 +136,3 @@ int ds1722_probe(int dev)
        printf("%d.%d deg C\n\n", (char)(temp >> 8), temp & 0xff);
        return 0;
 }
-
-#endif