Skip to content

Commit 4384b8b

Browse files
geertumarckleinebudde
authored andcommitted
can: rockchip_canfd: CAN_ROCKCHIP_CANFD should depend on ARCH_ROCKCHIP
The Rockchip CAN-FD controller is only present on Rockchip SoCs. Hence add a dependency on ARCH_ROCKCHIP, to prevent asking the user about this driver when configuring a kernel without Rockchip platform support. Fixes: ff60bfb ("can: rockchip_canfd: add driver for Rockchip CAN-FD controller") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Heiko Stuebner <[email protected]> Link: https://patch.msgid.link/a4b3c8c1cca9515e67adac83af5ba1b1fab2fcbc.1727169288.git.geert+renesas@glider.be Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent 4d6d265 commit 4384b8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/can/rockchip/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
config CAN_ROCKCHIP_CANFD
44
tristate "Rockchip CAN-FD controller"
55
depends on OF || COMPILE_TEST
6+
depends on ARCH_ROCKCHIP || COMPILE_TEST
67
select CAN_RX_OFFLOAD
78
help
89
Say Y here if you want to use CAN-FD controller found on

0 commit comments

Comments
 (0)