aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2014-11-27 16:33:58 -0500
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-12-07 15:22:06 -0500
commit04ee0865d11f3f2a395e004a181ccfd2b258d088 (patch)
treeda00c2fe502eb0036f69f5d37eaad7f2fb081e13 /drivers/net/can
parent069f8457ae52328741ac5e441e3880c4daabf82c (diff)
can: Enable -D__CHECK_ENDIAN__ for sparse by default
This patch enables endian checking by default when running sparse via "make C=2" for example. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can')
-rw-r--r--drivers/net/can/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/can/Makefile b/drivers/net/can/Makefile
index fc9304143f44..c533c62b0f5e 100644
--- a/drivers/net/can/Makefile
+++ b/drivers/net/can/Makefile
@@ -29,4 +29,5 @@ obj-$(CONFIG_CAN_GRCAN) += grcan.o
29obj-$(CONFIG_CAN_RCAR) += rcar_can.o 29obj-$(CONFIG_CAN_RCAR) += rcar_can.o
30obj-$(CONFIG_CAN_XILINXCAN) += xilinx_can.o 30obj-$(CONFIG_CAN_XILINXCAN) += xilinx_can.o
31 31
32subdir-ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG 32subdir-ccflags-y += -D__CHECK_ENDIAN__
33subdir-ccflags-$(CONFIG_CAN_DEBUG_DEVICES) += -DDEBUG