[PATCH] DVB Needs I2C Core

From: Parag Warudkar
Date: Fri Jun 30 2006 - 00:39:00 EST


DVB seems to be using i2c ( i2c_transfer() mainly ) all over the place but it is possible to build DVB without having I2C selected. This results in undefined symbol i2c_transfer in DVB module.

This patch makes I2C Core selected automatically if DVB is selected.
Is it the right thing to do?

Thanks
Parag--- linux-2.6.17/drivers/media/dvb/Kconfig.orig 2006-06-30 00:15:13.000000000 -0400
+++ linux-2.6.17/drivers/media/dvb/Kconfig 2006-06-30 00:10:15.000000000 -0400
@@ -7,6 +7,7 @@ menu "Digital Video Broadcasting Devices
config DVB
bool "DVB For Linux"
depends on NET && INET
+ select I2C
---help---
Support Digital Video Broadcasting hardware. Enable this if you
own a DVB adapter and want to use it or if you compile Linux for