treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / infiniband / hw / hfi1 / Makefile
blob0405d26d0833d8073c479dc531debc5a8396f307
1 # SPDX-License-Identifier: GPL-2.0
3 # HFI driver
7 # Called from the kernel module build system.
9 obj-$(CONFIG_INFINIBAND_HFI1) += hfi1.o
11 hfi1-y := \
12 affinity.o \
13 aspm.o \
14 chip.o \
15 device.o \
16 driver.o \
17 efivar.o \
18 eprom.o \
19 exp_rcv.o \
20 file_ops.o \
21 firmware.o \
22 init.o \
23 intr.o \
24 iowait.o \
25 mad.o \
26 mmu_rb.o \
27 msix.o \
28 opfn.o \
29 pcie.o \
30 pio.o \
31 pio_copy.o \
32 platform.o \
33 qp.o \
34 qsfp.o \
35 rc.o \
36 ruc.o \
37 sdma.o \
38 sysfs.o \
39 tid_rdma.o \
40 trace.o \
41 uc.o \
42 ud.o \
43 user_exp_rcv.o \
44 user_pages.o \
45 user_sdma.o \
46 verbs.o \
47 verbs_txreq.o \
48 vnic_main.o \
49 vnic_sdma.o
51 ifdef CONFIG_DEBUG_FS
52 hfi1-y += debugfs.o
53 ifdef CONFIG_FAULT_INJECTION
54 ifdef CONFIG_FAULT_INJECTION_DEBUG_FS
55 hfi1-y += fault.o
56 endif
57 endif
58 endif
60 CFLAGS_trace.o = -I$(src)
61 ifdef MVERSION
62 CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\"
63 endif