Skip to content

Commit e3bb3cd

Browse files
rddunlapmchehab
authored andcommitted
[media] media: fix dm1105.c build error
Fix dm1105 build error when CONFIG_I2C_ALGOBIT=m and CONFIG_DVB_DM1105=y. drivers/built-in.o: In function `dm1105_probe': dm1105.c:(.text+0x2836e7): undefined reference to `i2c_bit_add_bus' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Javier Martinez Canillas <javier@osg.samsung.com> Cc: stable@vger.kernel.org # applies to 4.0 (maybe even 3.x) Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
1 parent a2370ba commit e3bb3cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/media/pci/dm1105/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
config DVB_DM1105
22
tristate "SDMC DM1105 based PCI cards"
3-
depends on DVB_CORE && PCI && I2C
3+
depends on DVB_CORE && PCI && I2C && I2C_ALGOBIT
44
select DVB_PLL if MEDIA_SUBDRV_AUTOSELECT
55
select DVB_STV0299 if MEDIA_SUBDRV_AUTOSELECT
66
select DVB_STV0288 if MEDIA_SUBDRV_AUTOSELECT

0 commit comments

Comments
 (0)