summaryrefslogtreecommitdiff
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2013-08-24 06:54:59 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-08-24 06:57:20 -0300
commit6c84b214284e2c28314fe56b2b353b07ddfe9742 (patch)
treee68d5ef6b0419a6552162a5a1f765279035a93cd /drivers/media/pci
parent6fa1f40905333e10b47fa22609ce5c086eca9b11 (diff)
downloadlinux-6c84b214284e2c28314fe56b2b353b07ddfe9742.tar.gz
linux-6c84b214284e2c28314fe56b2b353b07ddfe9742.tar.xz
[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>
Diffstat (limited to 'drivers/media/pci')
0 files changed, 0 insertions, 0 deletions