aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-04-21 21:19:14 -0400
committerRoland Dreier <rolandd@cisco.com>2008-04-21 21:19:14 -0400
commit37a6ab5227d856c175d8f3586050997bb10628d8 (patch)
treed2eb89714aec9c317ddd2547b7c39c924ce5c344 /drivers/infiniband
parent88a8317bcd2258e84a41c155590837036d6b80a8 (diff)
IB/ipath: Build IBA7220 code unconditionally
The new IBA7220 code added a call to ipath_init_iba7220_funcs() that is compiled unconditionally, but only built the IBA7220 code if PCI_MSI is enabled. Fix this by building the IBA7220 file unconditonally. This fixes build breakage when PCI_MSI=n, HT_IRQ=y and INFINIBAND_IPATH=y reported by Ingo Molnar <mingo@elte.hu>: drivers/built-in.o: In function `ipath_init_one': ipath_driver.c:(.devinit.text+0x1e5bc): undefined reference to `ipath_init_iba7220_funcs' Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/ipath/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ipath/Makefile b/drivers/infiniband/hw/ipath/Makefile
index 75a6c91944c4..bf9450061986 100644
--- a/drivers/infiniband/hw/ipath/Makefile
+++ b/drivers/infiniband/hw/ipath/Makefile
@@ -29,11 +29,13 @@ ib_ipath-y := \
29 ipath_user_pages.o \ 29 ipath_user_pages.o \
30 ipath_user_sdma.o \ 30 ipath_user_sdma.o \
31 ipath_verbs_mcast.o \ 31 ipath_verbs_mcast.o \
32 ipath_verbs.o 32 ipath_verbs.o \
33 ipath_iba7220.o \
34 ipath_sd7220.o \
35 ipath_sd7220_img.o
33 36
34ib_ipath-$(CONFIG_HT_IRQ) += ipath_iba6110.o 37ib_ipath-$(CONFIG_HT_IRQ) += ipath_iba6110.o
35ib_ipath-$(CONFIG_PCI_MSI) += ipath_iba6120.o 38ib_ipath-$(CONFIG_PCI_MSI) += ipath_iba6120.o
36ib_ipath-$(CONFIG_PCI_MSI) += ipath_iba7220.o ipath_sd7220.o ipath_sd7220_img.o
37 39
38ib_ipath-$(CONFIG_X86_64) += ipath_wc_x86_64.o 40ib_ipath-$(CONFIG_X86_64) += ipath_wc_x86_64.o
39ib_ipath-$(CONFIG_PPC64) += ipath_wc_ppc64.o 41ib_ipath-$(CONFIG_PPC64) += ipath_wc_ppc64.o