Skip to content

Commit b7d012e

Browse files
rddunlapmarckleinebudde
authored andcommitted
can: tscan1: CAN_TSCAN1 can depend on PC104
Add a dependency on PC104 to limit (restrict) this driver kconfig prompt to kernel configs that have PC104 set. Add COMPILE_TEST as a possibility for more complete build coverage. I tested this build config on x86_64 5 times without problems. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> Link: https://patch.msgid.link/20250721002823.3548945-1-rdunlap@infradead.org [mkl: fix conflict, remove Fixes: tag] Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
1 parent 4be430b commit b7d012e

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 || (COMPILE_TEST && HAS_IOPORT)
108+
depends on (ISA && PC104) || (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)