提交 88327305 编写于 作者: M Mauro Carvalho Chehab

media: Kconfig: fix DVB dependencies

If I2C is present and it is module, the DVB core should also
be a module, otherwise build will now fail with:

  drivers/media/dvb-core/dvbdev.o: In function `dvb_module_probe':
     drivers/media/dvb-core/dvbdev.c:965: undefined reference to `i2c_new_device'
     drivers/media/dvb-core/dvbdev.c:972: undefined reference to `i2c_unregister_device'
Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 fce61d1d
...@@ -141,6 +141,7 @@ config DVB_CORE ...@@ -141,6 +141,7 @@ config DVB_CORE
tristate tristate
depends on MEDIA_SUPPORT depends on MEDIA_SUPPORT
depends on MEDIA_DIGITAL_TV_SUPPORT depends on MEDIA_DIGITAL_TV_SUPPORT
depends on (I2C || I2C=n)
default y default y
select CRC32 select CRC32
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册