summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>2013-12-20 17:42:07 +0530
committerJonghwa Lee <jonghwa3.lee@samsung.com>2014-10-08 11:16:15 +0900
commitaba05f17d046924c019b8566abf4660e7c349b90 (patch)
tree5bb82748d7305cdca1070e5b06000b1c96840b77
parent66dcb9eafbb4c74bcf7dbb97f9e53abe52f13835 (diff)
downloadlinux-3.10-aba05f17d046924c019b8566abf4660e7c349b90.tar.gz
linux-3.10-aba05f17d046924c019b8566abf4660e7c349b90.tar.bz2
linux-3.10-aba05f17d046924c019b8566abf4660e7c349b90.zip
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 *' Change-Id: Ide96bc2bb6a2c0c843e84811d9adaae97d8a191d Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
-rw-r--r--drivers/thermal/samsung/exynos_thermal_common.c2
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 510bd9fe7af..3ca6e4e7c53 100644
--- a/drivers/thermal/samsung/exynos_thermal_common.c
+++ b/drivers/thermal/samsung/exynos_thermal_common.c
@@ -282,7 +282,7 @@ static int exynos_get_trend(struct thermal_zone_device *thermal,
return 0;
}
/* Operation callback functions for thermal zone */
-static struct thermal_zone_device_ops const exynos_dev_ops = {
+static struct thermal_zone_device_ops exynos_dev_ops = {
.bind = exynos_bind,
.unbind = exynos_unbind,
.get_temp = exynos_get_temp,