linux_dsm_epyc7002/drivers/media
Mauro Carvalho Chehab ceab3ac1e6 media: dvb-frontends: DUMMY_FE should depends on DVB_CORE
Using select for DVB_CORE doesn't work, as reported by
Randy:

	CONFIG_I2C=m
	CONFIG_DVB_CORE=y

	ld: drivers/media/dvb-core/dvbdev.o: in function `dvb_module_probe':
	dvbdev.c:(.text+0xf92): undefined reference to `i2c_new_client_device'
	ld: dvbdev.c:(.text+0xffb): undefined reference to `i2c_unregister_device'
	ld: drivers/media/dvb-core/dvbdev.o: in function `dvb_module_release':
	dvbdev.c:(.text+0x107d): undefined reference to `i2c_unregister_device'

The problem is actually caused by the dummy frontend driver,
which uses select, and it is missing an I2C dependency:

	WARNING: unmet direct dependencies detected for DVB_CORE
	  Depends on [m]: MEDIA_SUPPORT [=y] && MEDIA_DIGITAL_TV_SUPPORT [=y] && (I2C [=m] || I2C [=m]=n)
	  Selected by [y]:
	  - DVB_DUMMY_FE [=y] && MEDIA_SUPPORT [=y] && MEDIA_TEST_SUPPORT [=y]

As this is the only frontend driver using "select DVB_CORE",
change it do depends on DVB_CORE.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-04-17 09:21:47 +02:00
..
cec media: cec/usb: depends on USB_SUPPORT and TTY 2020-04-17 09:04:55 +02:00
common media: dvb-usb: auto-select CYPRESS_FIRMWARE 2020-04-14 10:29:04 +02:00
dvb-core media: Kconfig: move DVB-specific options to dvb-core/Kconfig 2020-04-14 10:29:05 +02:00
dvb-frontends media: dvb-frontends: DUMMY_FE should depends on DVB_CORE 2020-04-17 09:21:47 +02:00
firewire media: Kconfig: mode firewire comment to firewire/Kconfig 2020-04-14 10:29:04 +02:00
i2c media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
mc media: mc/Kconfig: remove staging dependency for request API 2020-04-17 08:57:39 +02:00
mmc media: Kconfig: move comment to siano include 2020-04-14 10:29:04 +02:00
pci media: pci: saa7134: convert to use i2c_new_client_device() 2020-04-14 11:29:10 +02:00
platform media: move CEC platform drivers to a separate directory 2020-04-15 12:06:40 +02:00
radio media: radio: don't use a menu just for wl128x driver 2020-04-16 10:34:57 +02:00
rc media: rc: Use scnprintf() for avoiding potential buffer overflow 2020-03-20 16:27:42 +01:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
tuners media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
usb media: move CEC USB drivers to a separate directory 2020-04-15 12:06:40 +02:00
v4l2-core media: add v4l2 JPEG helpers 2020-04-14 11:47:47 +02:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00