thermal:samsung: fix compilation warning
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Fri, 20 Dec 2013 12:12:07 +0000 (17:42 +0530)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:53 +0000 (12:00 +0900)
commit782e44afd5e6cad91cd0a3a2041c0cf956581ea2
tree55b4f659010a4d3040225f041163ed20474aa664
parent7344576fd691b2cd242cc67cfe31967bec17adb0
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>
drivers/thermal/samsung/exynos_thermal_common.c