]> err.no Git - linux-2.6/commit
IB/ipath: Build IBA7220 code unconditionally
authorRoland Dreier <rolandd@cisco.com>
Tue, 22 Apr 2008 01:19:14 +0000 (18:19 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 22 Apr 2008 01:19:14 +0000 (18:19 -0700)
commit37a6ab5227d856c175d8f3586050997bb10628d8
treed2eb89714aec9c317ddd2547b7c39c924ce5c344
parent88a8317bcd2258e84a41c155590837036d6b80a8
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>
drivers/infiniband/hw/ipath/Makefile