Subject: [PATCH 2/2] media: ivsc: Add ACPI dependency

From: Sakari Ailus <[email-masked]>
Date: Wed, 16 Aug 2023 16:35:26 +0300

The IVSC driver only works in ACPI systems so make it depend on ACPI.

Compiling it elsewhere has little if any value.

Reported-by: Randy Dunlap <[email-masked]>
Fixes: 29006e196a56 ("media: pci: intel: ivsc: Add CSI submodule")
Signed-off-by: Sakari Ailus <[email-masked]>
---
 drivers/media/pci/intel/ivsc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/pci/intel/ivsc/Kconfig b/drivers/media/pci/intel/ivsc/Kconfig
index ec4ade92f583..413053175df7 100644
--- a/drivers/media/pci/intel/ivsc/Kconfig
+++ b/drivers/media/pci/intel/ivsc/Kconfig
@@ -3,7 +3,7 @@
 
 config INTEL_VSC
 	tristate "Intel Visual Sensing Controller"
-	depends on INTEL_MEI
+	depends on INTEL_MEI && ACPI
 	help
 	  This adds support for Intel Visual Sensing Controller (IVSC).
 
-- 
2.39.2