From: Prarit Bhargava Date: Wed, 25 Aug 2021 12:57:35 +0000 (-0400) Subject: mfd: intel_pmt: Only compile on x86 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=635a0535e2fa8fbd88bb49d65eed35c7ed808b8e;p=linux.git mfd: intel_pmt: Only compile on x86 The intel_pmt driver shows up as a compile option for all arches but is 32-bit and 64-bit x86 specific. Add a CONFIG dependency on X86 for intel_pmt. Signed-off-by: Prarit Bhargava Reviewed-by: David E. Box Reviewed-by: Hans de Goede Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index ca0edab91aeb6..bd090e766ca48 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -692,7 +692,7 @@ config MFD_INTEL_PMC_BXT config MFD_INTEL_PMT tristate "Intel Platform Monitoring Technology (PMT) support" - depends on PCI + depends on X86 && PCI select MFD_CORE help The Intel Platform Monitoring Technology (PMT) is an interface that