From 3db8e7c4112efb6084607b0a927ced1f38ea4963 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Sat, 13 Mar 2004 20:34:32 +0000 Subject: build ttpci driver without infrared support if CONFIG_INPUT_EVDEV is not set to get rid of unresolved symbols --- linux/drivers/media/dvb/ttpci/av7110.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'linux') diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index 36cd666f4..958add7ee 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -30,6 +30,7 @@ */ +#include #include #include #include @@ -1657,6 +1658,7 @@ static int __init av7110_init(void) { int retval; retval = saa7146_register_extension(&av7110_extension); +#ifdef CONFIG_INPUT_EVDEV if (retval) goto failed_saa7146_register; @@ -1667,13 +1669,16 @@ static int __init av7110_init(void) failed_av7110_ir_init: saa7146_unregister_extension(&av7110_extension); failed_saa7146_register: +#endif return retval; } static void __exit av7110_exit(void) { +#ifdef CONFIG_INPUT_EVDEV av7110_ir_exit(); +#endif saa7146_unregister_extension(&av7110_extension); } -- cgit v1.2.3