From: Andreas Ruprecht Date: Fri, 21 Nov 2014 18:23:28 +0000 (-0300) Subject: [media] media: pci: smipcie: Fix dependency for DVB_SMIPCIE X-Git-Tag: omap-for-v3.19/fixes-rc1~133^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f56d2b31d6a0711082e635c5137fa90951c9995;p=pandora-kernel.git [media] media: pci: smipcie: Fix dependency for DVB_SMIPCIE In smipcie.c, the function i2c_bit_add_bus() is called. This function is defined by the I2C bit-banging interfaces enabled with CONFIG_I2C_ALGOBIT. As there was no dependency in Kconfig, CONFIG_I2C_ALGOBIT could be set to "m" while CONFIG_DVB_SMIPCIE was set to "y", resulting in a build error due to an undefined reference. This patch adds the dependency on CONFIG_I2C_ALGOBIT in Kconfig by selecting it when CONFIG_DVB_SMIPCIE is selected. Signed-off-by: Andreas Ruprecht Reported-by: Jim Davis Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed