linux/drivers/media/common/siano
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
..
Kconfig [media] sms: fix randconfig building error 2013-08-24 06:57:20 -03:00
Makefile [media] siano: split debugfs code into a separate file 2013-03-21 07:48:41 -03:00
sms-cards.c [media] siano: remove the remaining CamelCase compliants 2013-03-21 10:03:45 -03:00
sms-cards.h [media] siano: add new devices to the Siano Driver 2013-03-21 07:45:06 -03:00
smscoreapi.c [media] smscoreapi: memory leak fix 2013-06-13 09:00:45 -03:00
smscoreapi.h [media] siano: Fix the remaining checkpatch.pl compliants 2013-03-21 10:03:53 -03:00
smsdvb-debugfs.c [media] siano: make some functions static 2013-03-21 10:04:01 -03:00
smsdvb-main.c [media] siano: fix divide error on 0 counters 2013-08-22 12:06:30 -03:00
smsdvb.h [media] siano: remove the remaining CamelCase compliants 2013-03-21 10:03:45 -03:00
smsendian.c [media] siano: remove the remaining CamelCase compliants 2013-03-21 10:03:45 -03:00
smsendian.h [media] siano: break it into common, mmc and usb 2012-08-13 23:52:52 -03:00
smsir.c [media] rc-core: add separate defines for protocol bitmaps and numbers 2012-10-27 11:49:51 -02:00
smsir.h [media] siano: remove the ir protocol field 2013-03-22 09:46:46 -03:00