aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2025-07-14 08:15:43 +0000
committerIlpo Järvinen <[email protected]>2025-07-21 13:59:23 +0000
commit5a9fffd8a533bfb2688ec69dd6d1b6e53ef1177a (patch)
tree558fe85bed99b8a40fbad33037c3c1aa0d74b91c /drivers/platform/x86/intel/pmt/class.c
parentMerge branch 'fixes' into 'for-next' (diff)
downloadkernel-5a9fffd8a533bfb2688ec69dd6d1b6e53ef1177a.tar.gz
kernel-5a9fffd8a533bfb2688ec69dd6d1b6e53ef1177a.zip
platform/x86/intel/pmt: fix build dependency for kunit test
When INTEL_PMT_TELEMETRY is in a loadable module, the discovery test cannot be built-in: x86_64-linux-ld: drivers/platform/x86/intel/pmt/discovery-kunit.o: in function `test_intel_pmt_get_regions_by_feature': discovery-kunit.c:(.text+0x29d): undefined reference to `intel_pmt_get_regions_by_feature' x86_64-linux-ld: discovery-kunit.c:(.text+0x2c3): undefined reference to `intel_pmt_put_feature_group' Add a Kconfig dependency to prevent this. Fixes: b9707d46a959 ("platform/x86/intel/pmt: KUNIT test for PMT Enhanced Discovery API") Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions