Commit 023b7b07 authored by Arvind Yadav's avatar Arvind Yadav Committed by Zhang Rui

thermal : Remove const to make same prototype

Here, prototype of thermal_zone_device_register is not matching
with static inline thermal_zone_device_register. One is using
const thermal_zone_params. Other is using non-const.
Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 2bd6bf03
...@@ -488,7 +488,7 @@ static inline int power_actor_set_power(struct thermal_cooling_device *cdev, ...@@ -488,7 +488,7 @@ static inline int power_actor_set_power(struct thermal_cooling_device *cdev,
static inline struct thermal_zone_device *thermal_zone_device_register( static inline struct thermal_zone_device *thermal_zone_device_register(
const char *type, int trips, int mask, void *devdata, const char *type, int trips, int mask, void *devdata,
struct thermal_zone_device_ops *ops, struct thermal_zone_device_ops *ops,
const struct thermal_zone_params *tzp, struct thermal_zone_params *tzp,
int passive_delay, int polling_delay) int passive_delay, int polling_delay)
{ return ERR_PTR(-ENODEV); } { return ERR_PTR(-ENODEV); }
static inline void thermal_zone_device_unregister( static inline void thermal_zone_device_unregister(
......
Markdown is supported
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