aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Mailhol <mailhol.vincent@wanadoo.fr>2025-07-15 20:28:13 +0900
committerMarc Kleine-Budde <mkl@pengutronix.de>2025-07-15 13:32:02 +0200
commit5323af351e7524497930b7793153ff68ee5c0ec1 (patch)
tree22c51c4a6fc924e0f44dd40f3c5dafdbc20c8902
parentcan: ti_hecc: Kconfig: add COMPILE_TEST (diff)
downloadlinux-5323af351e7524497930b7793153ff68ee5c0ec1.tar.gz
linux-5323af351e7524497930b7793153ff68ee5c0ec1.zip
can: tscan1: Kconfig: add COMPILE_TEST
tscan1 depends on ISA. It also has a hidden dependency on HAS_IOPORT as reported by the kernel test bot [1]. That dependency is implied by ISA which explains why this was not an issue so far. Add both COMPILE_TEST and HAS_IOPORT to the dependency list so that this driver can also be built on other platforms. [1] https://lore.kernel.org/linux-can/202507141417.qAMrchyV-lkp@intel.com/ Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> Link: https://patch.msgid.link/20250715-can-compile-test-v2-3-f7fd566db86f@wanadoo.fr Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--drivers/net/can/sja1000/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/sja1000/Kconfig b/drivers/net/can/sja1000/Kconfig
index 2f516cc6d22c..ba16d7bc09ef 100644
--- a/drivers/net/can/sja1000/Kconfig
+++ b/drivers/net/can/sja1000/Kconfig
@@ -105,7 +105,7 @@ config CAN_SJA1000_PLATFORM
config CAN_TSCAN1
tristate "TS-CAN1 PC104 boards"
- depends on ISA
+ depends on ISA || (COMPILE_TEST && HAS_IOPORT)
help
This driver is for Technologic Systems' TSCAN-1 PC104 boards.
https://www.embeddedts.com/products/TS-CAN1