diff options
author | Shyam Sundar S K <[email protected]> | 2022-08-19 14:08:58 +0530 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2022-08-24 10:29:14 +0200 |
commit | c2f7edf81a82db20d91974ba2cf50a4c90c2dbe3 (patch) | |
tree | ae819488e88b1e9223261af5108781484765d0a7 /scripts/generate_rust_analyzer.py | |
parent | d82f5111d79ce9005912f14483ad6084e8c51025 (diff) |
platform/x86/amd/pmf: Fix undefined reference to platform_profile
Its reported that amd-pmf driver when built with config which does not
have ACPI_PLATFORM_PROFILE set/enabled throws a undefined references to
symbols used.
ld: vmlinux.o: in function `amd_pmf_init_sps':
drivers/platform/x86/amd/pmf/sps.c:132: undefined reference to `platform_profile_register'
ld: vmlinux.o: in function `amd_pmf_deinit_sps':
drivers/platform/x86/amd/pmf/sps.c:142: undefined reference to `platform_profile_remove'
Fix it by adding a "select" to the Kconfig.
Fixes: da5ce22df5fe ("platform/x86/amd/pmf: Add support for PMF core layer")
Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Shyam Sundar S K <[email protected]>
Acked-by: Randy Dunlap <[email protected]> # build-tested
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions