From: Mauro Carvalho Chehab Date: Sat, 24 Aug 2013 09:54:59 +0000 (-0300) Subject: [media] sms: fix randconfig building error X-Git-Tag: v3.12-rc1~135^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c84b214284e2c28314fe56b2b353b07ddfe9742;p=pandora-kernel.git [media] sms: fix randconfig building error As reported by Jim Davis , 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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed