2 * Copyright (C) 2013 Freescale Semiconductor, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
10 #ifndef __DEVICE_THERMAL_H__
11 #define __DEVICE_THERMAL_H__
13 #include <linux/thermal.h>
15 #ifdef CONFIG_DEVICE_THERMAL
16 int register_devfreq_cooling_notifier(struct notifier_block *nb);
17 int unregister_devfreq_cooling_notifier(struct notifier_block *nb);
18 struct thermal_cooling_device *devfreq_cooling_register(void);
19 void devfreq_cooling_unregister(struct thermal_cooling_device *cdev);
22 int register_devfreq_cooling_notifier(struct notifier_block *nb)
28 int unregister_devfreq_cooling_notifier(struct notifier_block *nb)
34 struct thermal_cooling_device *devfreq_cooling_register(void)
40 void devfreq_cooling_unregister(struct thermal_cooling_device *cdev)
45 #endif /* __DEVICE_THERMAL_H__ */