diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-08-31 11:30:45 +0530 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2017-10-17 15:52:57 +0800 |
commit | 023b7b07ccb57317bee4d971be546cc4469f4e7e (patch) | |
tree | e6e3880f9b6dacee678f1e43800f677b59ac208c /include/linux/thermal.h | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) |
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: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'include/linux/thermal.h')
-rw-r--r-- | include/linux/thermal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index fd5b959c753c..8c5302374eaa 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -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( const char *type, int trips, int mask, void *devdata, struct thermal_zone_device_ops *ops, - const struct thermal_zone_params *tzp, + struct thermal_zone_params *tzp, int passive_delay, int polling_delay) { return ERR_PTR(-ENODEV); } static inline void thermal_zone_device_unregister( |