From: Pankaj Bansal Date: Wed, 1 Aug 2018 14:06:45 +0000 (+0530) Subject: can: flexcan: enable flexcan for all architectures X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0f8af56f74cda146c279c6b8e7e590f778a96cc1;p=openwrt%2Fstaging%2Fblogic.git can: flexcan: enable flexcan for all architectures flexcan is an IP module independent of the SOC architecture. Therefore, enable it for all architectures. Signed-off-by: Pankaj Bansal Signed-off-by: Marc Kleine-Budde --- diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig index 7cdd0cead693..e0f0ad7a550a 100644 --- a/drivers/net/can/Kconfig +++ b/drivers/net/can/Kconfig @@ -96,7 +96,7 @@ config CAN_AT91 config CAN_FLEXCAN tristate "Support for Freescale FLEXCAN based chips" - depends on ARM || PPC + depends on OF && HAS_IOMEM ---help--- Say Y here if you want to support for Freescale FlexCAN.