Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40d45118 authored by Guenter Roeck's avatar Guenter Roeck Committed by Marc Kleine-Budde
Browse files

can: Disable flexcan driver build for big endian CPU on ARM



Building arm:allmodconfig fails with

flexcan.c: In function 'flexcan_read':
flexcan.c:243:2: error: implicit declaration of function 'in_be32'
flexcan.c: In function 'flexcan_write':
flexcan.c:248:2: error: implicit declaration of function 'out_be32'

in_be32 and out_be32 do not (or no longer) exist for ARM targets.
Disable the build for ARM on big endian CPUs.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 2dcb90ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ config CAN_JANZ_ICAN3

config CAN_FLEXCAN
	tristate "Support for Freescale FLEXCAN based chips"
	depends on ARM || PPC
	depends on (ARM && CPU_LITTLE_ENDIAN) || PPC
	---help---
	  Say Y here if you want to support for Freescale FlexCAN.