[PATCH] misc: keba: Add hardware dependency

From: Jean Delvare
Date: Mon Nov 04 2024 - 08:23:12 EST


Only propose KEBA CP500 drivers on architectures where the device
exists, unless build-testing.

Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>
Cc: Gerhard Engleder <eg@xxxxxxxx>
---
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