xref: /linux/drivers/thermal/testing/thermal_testing.h (revision 2ed2e359dea752e7758d29a423033031a0b96584)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/workqueue.h>
3 
4 extern struct workqueue_struct *tt_wq;
5 
tt_queue_work(struct work_struct * work)6 static inline void tt_queue_work(struct work_struct *work)
7 {
8 	queue_work(tt_wq, work);
9 }
10 
11 extern struct dentry *d_testing;
12 
13 int tt_add_tz(void);
14 int tt_del_tz(const char *arg);
15 int tt_zone_add_trip(const char *arg);
16 int tt_zone_reg(const char *arg);
17 int tt_zone_unreg(const char *arg);
18 
19 void tt_zone_cleanup(void);
20