From: Mario Limonciello Date: Sat, 22 Jun 2024 21:52:19 +0000 (-0500) Subject: cpufreq: amd-pstate: Make amd-pstate unit tests depend on amd-pstate X-Git-Tag: v6.11-rc1~173^2~2^2^2~7^2~1^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1a921f7fcd157ca898e453bbb56927ab39412e3;p=thirdparty%2Fkernel%2Flinux.git cpufreq: amd-pstate: Make amd-pstate unit tests depend on amd-pstate As the unit tests use a symbol from the driver an explicit dependency is required. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202406222016.R4A2TMs8-lkp@intel.com/ Reviewed-by: Gautham R. Shenoy Reviewed-by: Perry Yuan Link: https://lore.kernel.org/r/20240622215219.47911-1-mario.limonciello@amd.com Signed-off-by: Mario Limonciello --- diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86 index 438c9e75a04dc..97c2d4f15d76e 100644 --- a/drivers/cpufreq/Kconfig.x86 +++ b/drivers/cpufreq/Kconfig.x86 @@ -71,6 +71,7 @@ config X86_AMD_PSTATE_DEFAULT_MODE config X86_AMD_PSTATE_UT tristate "selftest for AMD Processor P-State driver" depends on X86 && ACPI_PROCESSOR + depends on X86_AMD_PSTATE default n help This kernel module is used for testing. It's safe to say M here.