Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406222016.R4A2TMs8-lkp@intel.com/
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Reviewed-by: Perry Yuan <Perry.Yuan@amd.com>
Link: https://lore.kernel.org/r/20240622215219.47911-1-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>

+1
+1
drivers/cpufreq/Kconfig.x86
··· 71 71 config X86_AMD_PSTATE_UT 72 72 tristate "selftest for AMD Processor P-State driver" 73 73 depends on X86 && ACPI_PROCESSOR 74 + depends on X86_AMD_PSTATE 74 75 default n 75 76 help 76 77 This kernel module is used for testing. It's safe to say M here.