[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210825125735.621799-1-prarit@redhat.com>
Date: Wed, 25 Aug 2021 08:57:35 -0400
From: Prarit Bhargava <prarit@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: Prarit Bhargava <prarit@...hat.com>,
Lee Jones <lee.jones@...aro.org>,
"David E . Box" <david.e.box@...ux.intel.com>,
Hans de Goede <hdegoede@...hat.com>
Subject: [PATCH] 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 <prarit@...hat.com>
Cc: Lee Jones <lee.jones@...aro.org>
Cc: David E. Box <david.e.box@...ux.intel.com>
Cc: Hans de Goede <hdegoede@...hat.com>
---
drivers/mfd/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 6a3fd2d75f96..0f12b00955b4 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -676,7 +676,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
--
2.31.1
Powered by blists - more mailing lists