hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/drivers/cpufreq/cpufreq_governor.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * drivers/cpufreq/cpufreq_governor.h
34 *
....@@ -8,10 +9,6 @@
89 * (C) 2003 Jun Nakajima <jun.nakajima@intel.com>
910 * (C) 2009 Alexander Clouter <alex@digriz.org.uk>
1011 * (c) 2012 Viresh Kumar <viresh.kumar@linaro.org>
11
- *
12
- * This program is free software; you can redistribute it and/or modify
13
- * it under the terms of the GNU General Public License version 2 as
14
- * published by the Free Software Foundation.
1512 */
1613
1714 #ifndef _CPUFREQ_GOVERNOR_H
....@@ -159,7 +156,7 @@
159156 #define CPUFREQ_DBS_GOVERNOR_INITIALIZER(_name_) \
160157 { \
161158 .name = _name_, \
162
- .dynamic_switching = true, \
159
+ .flags = CPUFREQ_GOV_DYNAMIC_SWITCHING, \
163160 .owner = THIS_MODULE, \
164161 .init = cpufreq_dbs_governor_init, \
165162 .exit = cpufreq_dbs_governor_exit, \