mfd: intel_pmt: Only compile on x86
authorPrarit Bhargava <prarit@redhat.com>
Wed, 25 Aug 2021 12:57:35 +0000 (08:57 -0400)
committerLee Jones <lee.jones@linaro.org>
Fri, 5 Nov 2021 14:40:05 +0000 (14:40 +0000)
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 <prarit@redhat.com>
Reviewed-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig

index ca0edab91aeb63fc74f52c43501ef22ddf6934b9..bd090e766ca4876465db4dda20c1ffc1ec272360 100644 (file)
@@ -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