media: Kconfig: fix DVB dependencies
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 7 Mar 2018 14:51:17 +0000 (09:51 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 8 Mar 2018 11:06:49 +0000 (06:06 -0500)
commit883273053607c75264d8d7bc0ecc868bb26012c7
treec0558bb920a3001e9a31978281c2ffb0ec3a19aa
parentfce61d1dfd5b38529792898ba11a25e296e6d069
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: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/Kconfig