OSDN Git Service

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 7cdd0ce..e0f0ad7 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.