diff options
| author | Arnd Bergmann <[email protected]> | 2018-06-05 11:44:24 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2018-06-06 06:29:29 +0000 |
| commit | ac28927659bec665be97fc2c2dfc059f1f913fbb (patch) | |
| tree | d57a70b5e89f0e35144468dc1159062a661a5c47 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | Merge tag 'pm-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa... (diff) | |
| download | kernel-ac28927659bec665be97fc2c2dfc059f1f913fbb.tar.gz kernel-ac28927659bec665be97fc2c2dfc059f1f913fbb.zip | |
cpufreq: kryo: allow building as a loadable module
Building the kryo cpufreq driver while QCOM_SMEM is a loadable module
results in a link error:
drivers/cpufreq/qcom-cpufreq-kryo.o: In function `qcom_cpufreq_kryo_probe':
qcom-cpufreq-kryo.c:(.text+0xbc): undefined reference to `qcom_smem_get'
The problem is that Kconfig ignores interprets the dependency as met
when the dependent symbol is a 'bool' one. By making it 'tristate',
it will be forced to be a module here, which builds successfully.
Fixes: 46e2856b8e18 (cpufreq: Add Kryo CPU scaling driver)
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
