OpenCloudOS-Kernel/drivers/media/common
Mauro Carvalho Chehab 6c84b21428 [media] sms: fix randconfig building error
As reported by Jim Davis <jim.epost@gmail.com>,
building with:
	CONFIG_USB=m
	CONFIG_SMS_USB_DRV=m
	CONFIG_SMS_SDIO_DRV=y
	CONFIG_SMS_SIANO_MDTV=y
	CONFIG_SMS_SIANO_DEBUGFS=y

causes a build error:

	drivers/built-in.o: In function `smsdvb_debugfs_register':
	/home/jim/linux/drivers/media/common/siano/smsdvb-debugfs.c:537:
	undefined reference to `usb_debug_root'
	make: *** [vmlinux] Error 1

That happens because the siano-mdtv is builtin, while USB is a
module. As it makes not much sense to have sms-usb compiled as 'm'
and sms-sdio compiled as 'y' (or vice-versa), only allow enabling
debugfs if both are either 'y' or 'm'.

Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-08-24 06:57:20 -03:00
..
b2c2 [media] cx88: kernel bz#9476: Fix tone setting for Nova-S+ model 92001 2013-04-08 06:56:47 -03:00
saa7146 [media] v4l2: remove g_chip_ident from bridge drivers where it is easy to do so 2013-06-17 08:36:35 -03:00
siano [media] sms: fix randconfig building error 2013-08-24 06:57:20 -03:00
Kconfig [media] media: Fix randconfig error 2013-04-14 20:04:08 -03:00
Makefile [media] media: move dvb-usb-v2/cypress_firmware.c to media/common 2013-03-29 11:35:06 -03:00
btcx-risc.c [media] btcx-risc: move from media/i2c to media/common 2013-02-08 16:11:25 -02:00
btcx-risc.h [media] btcx-risc: move from media/i2c to media/common 2013-02-08 16:11:25 -02:00
cx2341x.c [media] cx2341x: move from media/i2c to media/common 2013-02-08 16:09:55 -02:00
cypress_firmware.c [media] media: move dvb-usb-v2/cypress_firmware.c to media/common 2013-03-29 11:35:06 -03:00
cypress_firmware.h [media] media: move dvb-usb-v2/cypress_firmware.c to media/common 2013-03-29 11:35:06 -03:00
tveeprom.c [media] tveeprom: remove v4l2-chip-ident.h include 2013-06-17 08:48:03 -03:00