1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. 4 * 5 * Based on the idea from Michael Matz <matz@suse.de> 6 */ 7 8 #ifndef _CPUIDLE_IDLE_MONITORS_H_ 9 #define _CPUIDLE_IDLE_MONITORS_H_ 10 11 #define DEF(x) extern struct cpuidle_monitor x ##_monitor; 12 #include "idle_monitors.def" 13 #undef DEF 14 extern struct cpuidle_monitor *all_monitors[]; 15 16 #endif /* _CPUIDLE_IDLE_MONITORS_H_ */ 17