On 17.06.2021 01:16:51, Angelo Dureghello wrote: > Enable flexcan KConfig for ColdFire m5441x cpu's. > > Signed-off-by: Angelo Dureghello <angelo@xxxxxxxxxxxxxxxx> > --- > drivers/net/can/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig > index e355d3974977..7a1be9dad52d 100644 > --- a/drivers/net/can/Kconfig > +++ b/drivers/net/can/Kconfig > @@ -97,7 +97,7 @@ config CAN_AT91 > > config CAN_FLEXCAN > tristate "Support for Freescale FLEXCAN based chips" > - depends on OF && HAS_IOMEM > + depends on (OF || M5441x) && HAS_IOMEM I think it's OK to only remove the OF. > help > Say Y here if you want to support for Freescale FlexCAN. > > -- > 2.31.1 > > Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: PGP signature