treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / net / can / Makefile
blob22164300122d5dea33e0b809ae5bc7a57a0857ae
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the Linux Controller Area Network drivers.
6 obj-$(CONFIG_CAN_VCAN) += vcan.o
7 obj-$(CONFIG_CAN_VXCAN) += vxcan.o
8 obj-$(CONFIG_CAN_SLCAN) += slcan.o
10 obj-$(CONFIG_CAN_DEV) += can-dev.o
11 can-dev-y += dev.o
12 can-dev-y += rx-offload.o
14 can-dev-$(CONFIG_CAN_LEDS) += led.o
16 obj-y += rcar/
17 obj-y += spi/
18 obj-y += usb/
19 obj-y += softing/
21 obj-$(CONFIG_CAN_AT91) += at91_can.o
22 obj-$(CONFIG_CAN_CC770) += cc770/
23 obj-$(CONFIG_CAN_C_CAN) += c_can/
24 obj-$(CONFIG_CAN_FLEXCAN) += flexcan.o
25 obj-$(CONFIG_CAN_GRCAN) += grcan.o
26 obj-$(CONFIG_CAN_IFI_CANFD) += ifi_canfd/
27 obj-$(CONFIG_CAN_JANZ_ICAN3) += janz-ican3.o
28 obj-$(CONFIG_CAN_KVASER_PCIEFD) += kvaser_pciefd.o
29 obj-$(CONFIG_CAN_MSCAN) += mscan/
30 obj-$(CONFIG_CAN_M_CAN) += m_can/
31 obj-$(CONFIG_CAN_PEAK_PCIEFD) += peak_canfd/
32 obj-$(CONFIG_CAN_SJA1000) += sja1000/
33 obj-$(CONFIG_CAN_SUN4I) += sun4i_can.o
34 obj-$(CONFIG_CAN_TI_HECC) += ti_hecc.o
35 obj-$(CONFIG_CAN_XILINXCAN) += xilinx_can.o
36 obj-$(CONFIG_PCH_CAN) += pch_can.o
38 subdir-ccflags-$(CONFIG_CAN_DEBUG_DEVICES) += -DDEBUG