Skip to content

Commit 5323af3

Browse files
vincent-mailholmarckleinebudde
authored andcommitted
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>
1 parent 0e7896b commit 5323af3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/can/sja1000/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ config CAN_SJA1000_PLATFORM
105105

106106
config CAN_TSCAN1
107107
tristate "TS-CAN1 PC104 boards"
108-
depends on ISA
108+
depends on ISA || (COMPILE_TEST && HAS_IOPORT)
109109
help
110110
This driver is for Technologic Systems' TSCAN-1 PC104 boards.
111111
https://www.embeddedts.com/products/TS-CAN1

0 commit comments

Comments
 (0)