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

From: Sakari Ailus
Date: Wed Aug 16 2023 - 09:36:48 EST


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 <rdunlap@xxxxxxxxxxxxx>
Fixes: 29006e196a56 ("media: pci: intel: ivsc: Add CSI submodule")
Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
---
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