diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2023-07-12 05:58:43 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-07-12 12:45:18 +0200 |
commit | bfb5ef2219b7b28a6e328860438eb55027807289 (patch) | |
tree | d409f0ebeeed10e5f0cb9910bc68e28b87fdbd05 /drivers/leds | |
parent | Linux 6.5-rc1 (diff) | |
download | linux-bfb5ef2219b7b28a6e328860438eb55027807289.tar.xz linux-bfb5ef2219b7b28a6e328860438eb55027807289.zip |
cpufreq: sparc: Don't mark cpufreq callbacks with __init
These callbacks can be called again by the cpufreq core after the driver
is initialized and must be kept around. We currently get section
mismatch build warnings.
Don't mark them with __init.
Fixes: dcfce7c2cee4 ("cpufreq: sparc: Don't allocate cpufreq_driver dynamically")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions