diff options
author | Naveen Krishna Chatradhi <ch.naveen@samsung.com> | 2013-12-20 07:12:07 -0500 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2014-01-01 21:05:04 -0500 |
commit | b688b5bf845eb1fc3be06073a7be3ba6b7933f52 (patch) | |
tree | 611f42b03a2387f9ccc0660e1491ca6c33e73c0a /drivers/thermal | |
parent | b46cce5902def84d35f3b043e89ab764f6c9746e (diff) |
thermal:samsung: fix compilation warning
This patch fixes a compilation warning.
warning: passing argument 5 of 'thermal_zone_device_register' discards 'const'
qualifier from pointer target type [enabled by default]
include/linux/thermal.h:270:29: note: expected 'struct thermal_zone_device_ops *'
but argument is of type 'const struct thermal_zone_device_ops *'
Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/samsung/exynos_thermal_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/samsung/exynos_thermal_common.c b/drivers/thermal/samsung/exynos_thermal_common.c index c2301da08ac7..3f5ad25ddca8 100644 --- a/drivers/thermal/samsung/exynos_thermal_common.c +++ b/drivers/thermal/samsung/exynos_thermal_common.c | |||
@@ -280,7 +280,7 @@ static int exynos_get_trend(struct thermal_zone_device *thermal, | |||
280 | return 0; | 280 | return 0; |
281 | } | 281 | } |
282 | /* Operation callback functions for thermal zone */ | 282 | /* Operation callback functions for thermal zone */ |
283 | static struct thermal_zone_device_ops const exynos_dev_ops = { | 283 | static struct thermal_zone_device_ops exynos_dev_ops = { |
284 | .bind = exynos_bind, | 284 | .bind = exynos_bind, |
285 | .unbind = exynos_unbind, | 285 | .unbind = exynos_unbind, |
286 | .get_temp = exynos_get_temp, | 286 | .get_temp = exynos_get_temp, |