[2.6 patch] DVB_CORE must select I2C

From: Adrian Bunk
Date: Thu Aug 03 2006 - 11:57:14 EST


On Thu, Jul 27, 2006 at 01:56:39AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.18-rc2-mm1:
>...
> +dvb-core-needs-i2c.patch
>...
> DVB fixes
>...

This means people who observed a compile error will now have the DVB
support silently removed from their kernel.

Please replace it with the patch below.

cu
Adrian


<-- snip -->


DVB_CORE=y, I2C=n resulted in the following compile error reported by
Bernd Buschinski in kernel Bugzilla #6843:

<-- snip -->

...
LD .tmp_vmlinux1
drivers/built-in.o: In function `dvb_pll_sleep':
dvb-pll.c:(.text+0x80020): undefined reference to `i2c_transfer'
drivers/built-in.o: In function `dvb_pll_set_params':
dvb-pll.c:(.text+0x80326): undefined reference to `i2c_transfer'
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.18-rc2-mm1-modular/drivers/media/dvb/dvb-core/Kconfig.old 2006-08-03 17:53:54.000000000 +0200
+++ linux-2.6.18-rc2-mm1-modular/drivers/media/dvb/dvb-core/Kconfig 2006-08-03 17:54:06.000000000 +0200
@@ -1,6 +1,7 @@
config DVB_CORE
tristate "DVB Core Support"
depends on DVB
+ select I2C
select CRC32
help
DVB core utility functions for device handling, software fallbacks etc.

-
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/