.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * drivers/cpufreq/cpufreq_governor.h |
---|
3 | 4 | * |
---|
.. | .. |
---|
8 | 9 | * (C) 2003 Jun Nakajima <jun.nakajima@intel.com> |
---|
9 | 10 | * (C) 2009 Alexander Clouter <alex@digriz.org.uk> |
---|
10 | 11 | * (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. |
---|
15 | 12 | */ |
---|
16 | 13 | |
---|
17 | 14 | #ifndef _CPUFREQ_GOVERNOR_H |
---|
.. | .. |
---|
159 | 156 | #define CPUFREQ_DBS_GOVERNOR_INITIALIZER(_name_) \ |
---|
160 | 157 | { \ |
---|
161 | 158 | .name = _name_, \ |
---|
162 | | - .dynamic_switching = true, \ |
---|
| 159 | + .flags = CPUFREQ_GOV_DYNAMIC_SWITCHING, \ |
---|
163 | 160 | .owner = THIS_MODULE, \ |
---|
164 | 161 | .init = cpufreq_dbs_governor_init, \ |
---|
165 | 162 | .exit = cpufreq_dbs_governor_exit, \ |
---|