diff options
author | 2025-05-22 16:38:49 +0200 | |
---|---|---|
committer | 2025-05-25 23:49:03 +0300 | |
commit | 69157b00b526c31522a00b9908bfd53fa21b47f2 (patch) | |
tree | b97c782cd49ae57937de9a4b1843f82dde320c25 /scripts/gdb/linux/utils.py | |
parent | platform/x86: asus-wmi: fix build without CONFIG_SUSPEND (diff) | |
download | linux-rng-69157b00b526c31522a00b9908bfd53fa21b47f2.tar.xz linux-rng-69157b00b526c31522a00b9908bfd53fa21b47f2.zip |
platform/x86/amd/hsmp: fix building with CONFIG_HWMON=m
When CONFIG_HWMON is built as a loadable module, the HSMP drivers
cannot be built-in:
ERROR: modpost: "hsmp_create_sensor" [drivers/platform/x86/amd/hsmp/amd_hsmp.ko] undefined!
ERROR: modpost: "hsmp_create_sensor" [drivers/platform/x86/amd/hsmp/hsmp_acpi.ko] undefined!
Enforce that through the usual Kconfig dependnecy trick.
Fixes: 92c025db52bb ("platform/x86/amd/hsmp: Report power via hwmon sensors")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250522144422.2824083-1-arnd@kernel.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions