[PATCH] misc: keba: Add hardware dependency

Jean Delvare posted 1 patch 2 weeks, 6 days ago
drivers/misc/keba/Kconfig |    1 +
1 file changed, 1 insertion(+)
[PATCH] misc: keba: Add hardware dependency
Posted by Jean Delvare 2 weeks, 6 days ago
Only propose KEBA CP500 drivers on architectures where the device
exists, unless build-testing.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Gerhard Engleder <eg@keba.com>
---
 drivers/misc/keba/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-6.12-rc4.orig/drivers/misc/keba/Kconfig
+++ linux-6.12-rc4/drivers/misc/keba/Kconfig
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 config KEBA_CP500
 	tristate "KEBA CP500 system FPGA support"
+	depends on X86_64 || ARM64 || COMPILE_TEST
 	depends on PCI
 	select AUXILIARY_BUS
 	help


-- 
Jean Delvare
SUSE L3 Support