mirror of
https://github.com/torvalds/linux.git
synced 2026-09-28 03:52:02 +02:00
Refactor metrics related code from core.c into a new metrics.c file to improve code organization and maintainability. The metrics functionality is evolving with new platform support, warranting a separate file. No functional changes. Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Co-developed-by: Patil Rajesh Reddy <Patil.Reddy@amd.com> Signed-off-by: Patil Rajesh Reddy <Patil.Reddy@amd.com> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Link: https://patch.msgid.link/20260723111534.1940925-4-Shyam-sundar.S-k@amd.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
13 lines
366 B
Makefile
13 lines
366 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for linux/drivers/platform/x86/amd/pmf
|
|
# AMD Platform Management Framework
|
|
#
|
|
|
|
obj-$(CONFIG_AMD_PMF) += amd-pmf.o
|
|
amd-pmf-y := core.o acpi.o sps.o \
|
|
auto-mode.o cnqf.o \
|
|
tee-if.o spc.o metrics.o
|
|
# Build util.c only when AMD_PMF_UTIL_SUPPORT is enabled
|
|
amd-pmf-$(CONFIG_AMD_PMF_UTIL_SUPPORT) += util.o
|