summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-kai-sensors.c
diff options
context:
space:
mode:
authorJoshua Primero <jprimero@nvidia.com>2012-05-25 15:54:13 -0700
committerSimone Willett <swillett@nvidia.com>2012-07-03 14:55:32 -0700
commit5b1fcd1355485d347b3f15807561500ec06224ca (patch)
tree3d1ee6898d3c1b2b177c52d2e268d76eeac5c81f /arch/arm/mach-tegra/board-kai-sensors.c
parentad8fabee431584601e7184da76604ad3dfdd1109 (diff)
drivers: skin: Skin prediction algorithm
Added skin prediction algorithm. bug 1007726 Change-Id: Ia76f73cb818aa02e608e1fc69ab4d8277a5825eb Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/104814 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-kai-sensors.c')
-rw-r--r--arch/arm/mach-tegra/board-kai-sensors.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-kai-sensors.c b/arch/arm/mach-tegra/board-kai-sensors.c
index c545b2d0d786..29d1bea2e8a7 100644
--- a/arch/arm/mach-tegra/board-kai-sensors.c
+++ b/arch/arm/mach-tegra/board-kai-sensors.c
@@ -87,6 +87,7 @@ static void nct1008_probe_callback(struct nct1008_data *data)
thermal_device->name = "nct72";
thermal_device->data = data;
+ thermal_device->id = THERMAL_DEVICE_ID_NCT_EXT;
thermal_device->offset = TDIODE_OFFSET;
thermal_device->get_temp = nct_get_temp;
thermal_device->get_temp_low = nct_get_temp_low;
@@ -94,7 +95,7 @@ static void nct1008_probe_callback(struct nct1008_data *data)
thermal_device->set_alert = nct_set_alert;
thermal_device->set_shutdown_temp = nct_set_shutdown_temp;
- tegra_thermal_set_device(thermal_device);
+ tegra_thermal_device_register(thermal_device);
}
#endif