Skip to content
Commit 3f56d2b3 authored by Andreas Ruprecht's avatar Andreas Ruprecht Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarAndreas Ruprecht <rupran@einserver.de>
Reported-by: default avatarJim Davis <jim.epost@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent f2500ff3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment