diff options
author | Sanjay Singh Rawat <srawat@nvidia.com> | 2012-04-16 18:33:26 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-04-19 04:49:05 -0700 |
commit | ae081534395f749f880ce4f3ad72e65aa9a1cf72 (patch) | |
tree | 19aa9f485d3a8cea10a1b5faf8e78195d801fb40 /arch/arm/mach-tegra/tegra3_thermal.c | |
parent | f561fa95a9158dabd459e0956f74065cedc3ac5a (diff) |
arm: tegra: resolve compilation time warnings
Bug 949219
Change-Id: I875f8688a272c415ebf345b8f30e4afdf7551b29
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/91523
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra3_thermal.c')
-rw-r--r-- | arch/arm/mach-tegra/tegra3_thermal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/tegra3_thermal.c b/arch/arm/mach-tegra/tegra3_thermal.c index 8ad7bd5b670f..27f7a425e02a 100644 --- a/arch/arm/mach-tegra/tegra3_thermal.c +++ b/arch/arm/mach-tegra/tegra3_thermal.c @@ -107,7 +107,7 @@ static int tegra_thermal_zone_unbind(struct thermal_zone_device *thermal, } static int tegra_thermal_zone_get_temp(struct thermal_zone_device *thz, - long *temp) + unsigned long *temp) { struct tegra_thermal *thermal = thz->devdata; thermal->device->get_temp(thermal->device->data, temp); @@ -130,8 +130,8 @@ static int tegra_thermal_zone_get_trip_type( } static int tegra_thermal_zone_get_trip_temp(struct thermal_zone_device *thz, - int trip, - long *temp) { + int trip, + unsigned long *temp) { struct tegra_thermal *thermal = thz->devdata; /* Support only Thermal Throttling (1 trip) for now */ |