xref: /linux/drivers/thermal/testing/thermal_testing.h (revision 7d8d6ad659c02ed5d2387777194c22e8e81dbb2b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/workqueue.h>
3 
4 extern struct workqueue_struct *tt_wq;
5 
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