can: flexcan: enable flexcan for all architectures
authorPankaj Bansal <pankaj.bansal@nxp.com>
Wed, 1 Aug 2018 14:06:45 +0000 (19:36 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 28 Nov 2018 15:19:53 +0000 (16:19 +0100)
flexcan is an IP module independent of the SOC architecture.
Therefore, enable it for all architectures.

Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/Kconfig

index 7cdd0cead693dc5d78565f5fd988c6c25c7a2740..e0f0ad7a550aa8e159fe36e01a4f05d48ad6be3c 100644 (file)
@@ -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.