Skip to content
Commit b688b5bf authored by Naveen Krishna Chatradhi's avatar Naveen Krishna Chatradhi Committed by Zhang Rui
Browse files

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: default avatarNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent b46cce59
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment