]> Pileus Git - ~andy/linux/commit
can: Disable flexcan driver build for big endian CPU on ARM
authorGuenter Roeck <linux@roeck-us.net>
Mon, 6 Jan 2014 13:21:03 +0000 (05:21 -0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 11 Jan 2014 18:43:25 +0000 (19:43 +0100)
commit40d451181a7fa57e32bca4632ae7b22f80861a73
treec8f5d0ec05a6866311b6d922279b657cbe2e28c1
parent2dcb90ef4f89a871f6ee816ff30f7eb0037ada74
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: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/Kconfig