diff options
author | Viresh Kumar <[email protected]> | 2023-07-12 09:28:43 +0530 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-07-12 12:45:18 +0200 |
commit | bfb5ef2219b7b28a6e328860438eb55027807289 (patch) | |
tree | d409f0ebeeed10e5f0cb9910bc68e28b87fdbd05 /scripts/generate_rust_analyzer.py | |
parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) |
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 <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Reviewed-by: Randy Dunlap <[email protected]>
Tested-by: Randy Dunlap <[email protected]> # build-tested
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions