[PATCH] mei: make hdcp and pxp depend on X86 && PCI

From: kilobyte
Date: Sun Apr 23 2023 - 10:26:30 EST


From: Adam Borowski <kilobyte@xxxxxxxxxx>

All other MEI configs do so already. This fixes a Kconfig gripe if I915
gets ported to other archs (such as RISC-V in Intel Horse Creek...).

Signed-off-by: Adam Borowski <kilobyte@xxxxxxxxxx>
---
drivers/misc/mei/hdcp/Kconfig | 1 +
drivers/misc/mei/pxp/Kconfig | 1 +
2 files changed, 2 insertions(+)

diff --git a/drivers/misc/mei/hdcp/Kconfig b/drivers/misc/mei/hdcp/Kconfig
index 54e1c9526909..83e67771ac6b 100644
--- a/drivers/misc/mei/hdcp/Kconfig
+++ b/drivers/misc/mei/hdcp/Kconfig
@@ -4,6 +4,7 @@
config INTEL_MEI_HDCP
tristate "Intel HDCP2.2 services of ME Interface"
select INTEL_MEI_ME
+ depends on X86 && PCI
depends on DRM_I915
help
MEI Support for HDCP2.2 Services on Intel platforms.
diff --git a/drivers/misc/mei/pxp/Kconfig b/drivers/misc/mei/pxp/Kconfig
index 4029b96afc04..95f2c2470d28 100644
--- a/drivers/misc/mei/pxp/Kconfig
+++ b/drivers/misc/mei/pxp/Kconfig
@@ -5,6 +5,7 @@
config INTEL_MEI_PXP
tristate "Intel PXP services of ME Interface"
select INTEL_MEI_ME
+ depends on X86 && PCI
depends on DRM_I915
help
MEI Support for PXP Services on Intel platforms.
--
2.40.0