summaryrefslogtreecommitdiff
path: root/drivers/net/can/rockchip/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can/rockchip/Kconfig')
-rw-r--r--drivers/net/can/rockchip/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/can/rockchip/Kconfig b/drivers/net/can/rockchip/Kconfig
index e029e2a3ca4b..d203c530551f 100644
--- a/drivers/net/can/rockchip/Kconfig
+++ b/drivers/net/can/rockchip/Kconfig
@@ -2,7 +2,8 @@
config CAN_ROCKCHIP_CANFD
tristate "Rockchip CAN-FD controller"
- depends on OF || COMPILE_TEST
+ depends on OF
+ depends on ARCH_ROCKCHIP || COMPILE_TEST
select CAN_RX_OFFLOAD
help
Say Y here if you want to use CAN-FD controller found on