[patch] dvb/usb: input layer dependency fixes

From: Ingo Molnar
Date: Tue May 20 2008 - 04:03:17 EST

testing of the -tip tree found the following build failures on

drivers/built-in.o: In function `ttusb_dec_disconnect':
ttusb_dec.c:(.text+0xa2c95): undefined reference to `input_unregister_device'

drivers/built-in.o: In function `dvb_usb_read_remote_control':
dvb-usb-remote.c:(.text+0xa6a94): undefined reference to `input_event'

with this config:


these are due to the media/dvb/usb layer having dependencies on INPUT
functionality, without having that spelled out in the Kconfig file.

this patch makes that dependency explicit (for the drivers affected),
which solves the build error.

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
drivers/media/dvb/dvb-usb/Kconfig | 2 +-
drivers/media/dvb/ttusb-dec/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Index: linux/drivers/media/dvb/dvb-usb/Kconfig
--- linux.orig/drivers/media/dvb/dvb-usb/Kconfig
+++ linux/drivers/media/dvb/dvb-usb/Kconfig
@@ -1,6 +1,6 @@
config DVB_USB
tristate "Support for various USB DVB devices"
- depends on DVB_CORE && USB && I2C
+ depends on DVB_CORE && USB && I2C && INPUT
depends on HOTPLUG # due to FW_LOADER
select FW_LOADER
Index: linux/drivers/media/dvb/ttusb-dec/Kconfig
--- linux.orig/drivers/media/dvb/ttusb-dec/Kconfig
+++ linux/drivers/media/dvb/ttusb-dec/Kconfig
@@ -1,6 +1,6 @@
tristate "Technotrend/Hauppauge USB DEC devices"
- depends on DVB_CORE && USB
+ depends on DVB_CORE && USB && INPUT
depends on HOTPLUG # due to FW_LOADER
select FW_LOADER
select CRC32
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/