diff options
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-sensors.c')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu-sensors.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-sensors.c b/arch/arm/mach-tegra/board-cardhu-sensors.c index 7f3484a8f68b..e464ffe32aa1 100644 --- a/arch/arm/mach-tegra/board-cardhu-sensors.c +++ b/arch/arm/mach-tegra/board-cardhu-sensors.c @@ -538,6 +538,12 @@ static int nct_get_temp(void *_data, long *temp) return nct1008_thermal_get_temp(data, temp); } +static int nct_get_temp_low(void *_data, long *temp) +{ + struct nct1008_data *data = _data; + return nct1008_thermal_get_temp_low(data, temp); +} + static int nct_set_limits(void *_data, long lo_limit_milli, long hi_limit_milli) @@ -561,6 +567,7 @@ static int nct_set_shutdown_temp(void *_data, long shutdown_temp) struct nct1008_data *data = _data; return nct1008_thermal_set_shutdown_temp(data, shutdown_temp); } + static void nct1008_probe_callback(struct nct1008_data *data) { struct tegra_thermal_device *thermal_device; @@ -576,6 +583,7 @@ static void nct1008_probe_callback(struct nct1008_data *data) thermal_device->data = data; thermal_device->offset = TDIODE_OFFSET; thermal_device->get_temp = nct_get_temp; + thermal_device->get_temp_low = nct_get_temp_low; thermal_device->set_limits = nct_set_limits; thermal_device->set_alert = nct_set_alert; thermal_device->set_shutdown_temp = nct_set_shutdown_temp; |