aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Endriss2008-07-15 19:52:22 -0300
committerMauro Carvalho Chehab2008-07-20 07:25:12 -0300
commit439d0e4250b6fc9df3fc9183db38cf8a23d4ad93 (patch)
tree189060ba2f2bade2812bec1b02cfc3feddd3b885
parent4ee48c4257d842a29c032a32a19a3fcdd004b83f (diff)
V4L/DVB (8335): dvb-ttpci: Fix build with CONFIG_INPUT_EVDEV=n (Bug #11042)
Fix build with CONFIG_INPUT_EVDEV=n (Bug #11042). Thanks to Toralf Förster <toralf.foerster@gmx.de> for reporting. Thanks-to: Toralf Förster <toralf.foerster@gmx.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/dvb/ttpci/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/dvb/ttpci/Makefile b/drivers/media/dvb/ttpci/Makefile
index 3819390b16a5..71451237294c 100644
--- a/drivers/media/dvb/ttpci/Makefile
+++ b/drivers/media/dvb/ttpci/Makefile
@@ -3,7 +3,11 @@
# and the AV7110 DVB device driver
#
-dvb-ttpci-objs := av7110_hw.o av7110_v4l.o av7110_av.o av7110_ca.o av7110.o av7110_ipack.o av7110_ir.o
+dvb-ttpci-objs := av7110_hw.o av7110_v4l.o av7110_av.o av7110_ca.o av7110.o av7110_ipack.o
+
+ifdef CONFIG_INPUT_EVDEV
+dvb-ttpci-objs += av7110_ir.o
+endif
obj-$(CONFIG_TTPCI_EEPROM) += ttpci-eeprom.o
obj-$(CONFIG_DVB_BUDGET_CORE) += budget-core.o