[<prev] [next>] [day] [month] [year] [list]
Message-ID: <977da606-65e9-e2d0-62e4-f3025daabd51@infradead.org>
Date: Sat, 7 Jan 2017 17:08:49 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-media <linux-media@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>
Cc: Javier Martinez Canillas <javier@....samsung.com>,
Fengguang Wu <fengguang.wu@...el.com>
Subject: [PATCH] media: fix dm1105.c build error
From: Randy Dunlap <rdunlap@...radead.org>
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@...radead.org>
Reported-by: kbuild test robot <fengguang.wu@...el.com>
Cc: Javier Martinez Canillas <javier@....samsung.com>
Cc: stable@...r.kernel.org # applies to 4.0 (maybe even 3.x)
---
drivers/media/pci/dm1105/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx-410-rc2.orig/drivers/media/pci/dm1105/Kconfig
+++ lnx-410-rc2/drivers/media/pci/dm1105/Kconfig
@@ -1,6 +1,6 @@
config DVB_DM1105
tristate "SDMC DM1105 based PCI cards"
- depends on DVB_CORE && PCI && I2C
+ depends on DVB_CORE && PCI && I2C && I2C_ALGOBIT
select DVB_PLL if MEDIA_SUBDRV_AUTOSELECT
select DVB_STV0299 if MEDIA_SUBDRV_AUTOSELECT
select DVB_STV0288 if MEDIA_SUBDRV_AUTOSELECT
Powered by blists - more mailing lists