Do not compile av7110_ir if CONFIG_INPUT_EVDEV is not selected. Signed-off-by: Oliver Endriss diff -r cb91f21a543e linux/drivers/media/dvb/ttpci/Makefile --- a/linux/drivers/media/dvb/ttpci/Makefile Mon Jun 23 22:30:42 2008 +0200 +++ b/linux/drivers/media/dvb/ttpci/Makefile Sun Jul 06 00:14:15 2008 +0200 @@ -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