summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-06-07 17:01:49 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-06-07 17:01:49 -0300
commitd10adbd6c1cb04304509ac1419d678ce80dd6814 (patch)
tree8c57b1eaaebaf9256b7708c3dea0d4a28eb6b19f
parent345c23280f5d2852e8b8cd628362bc2b0f351dbc (diff)
downloadmediapointer-dvb-s2-d10adbd6c1cb04304509ac1419d678ce80dd6814.tar.gz
mediapointer-dvb-s2-d10adbd6c1cb04304509ac1419d678ce80dd6814.tar.bz2
Fix flexcop compilation
From: Mauro Carvalho Chehab <mchehab@infradead.org> Unfortunately, I missed a debug dependency on the last patchset. This patch should properly fix compilation for flexcop-usb on non-pci systems. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--linux/drivers/media/dvb/b2c2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/b2c2/Makefile b/linux/drivers/media/dvb/b2c2/Makefile
index b367c1625..d465d00cd 100644
--- a/linux/drivers/media/dvb/b2c2/Makefile
+++ b/linux/drivers/media/dvb/b2c2/Makefile
@@ -7,7 +7,11 @@ obj-$(CONFIG_DVB_B2C2_FLEXCOP) += stv0297_cs2.o
endif
-b2c2-flexcop-pci-objs = flexcop-pci.o flexcop-dma.o
+ifneq ($(CONFIG_DVB_B2C2_FLEXCOP_PCI),)
+b2c2-flexcop-objs += flexcop-dma.o
+endif
+
+b2c2-flexcop-pci-objs = flexcop-pci.o
obj-$(CONFIG_DVB_B2C2_FLEXCOP_PCI) += b2c2-flexcop-pci.o
b2c2-flexcop-usb-objs = flexcop-usb.o