diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-05-05 08:01:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-05-05 08:01:34 -0300 |
commit | b34ecd5aa34800aefa9e2990a805243ec9348437 (patch) | |
tree | 9e2b2c2cece07d535714a36927370cf4cc6c4db6 /drivers/misc/sgi-xp | |
parent | 9b15dfe0542fd6f7455c6aeca1cf711192343bf9 (diff) | |
download | op-kernel-dev-b34ecd5aa34800aefa9e2990a805243ec9348437.zip op-kernel-dev-b34ecd5aa34800aefa9e2990a805243ec9348437.tar.gz |
[media] media-device: fix builds when USB or PCI is compiled as module
Just checking ifdef CONFIG_USB is not enough, if the USB is compiled
as module. The same applies to PCI.
Tested with the following .config alternatives:
CONFIG_USB=m
CONFIG_MEDIA_CONTROLLER=y
CONFIG_MEDIA_SUPPORT=m
CONFIG_VIDEO_AU0828=m
CONFIG_USB=m
CONFIG_MEDIA_CONTROLLER=y
CONFIG_MEDIA_SUPPORT=y
CONFIG_VIDEO_AU0828=m
CONFIG_USB=y
CONFIG_MEDIA_CONTROLLER=y
CONFIG_MEDIA_SUPPORT=y
CONFIG_VIDEO_AU0828=m
CONFIG_USB=y
CONFIG_MEDIA_CONTROLLER=y
CONFIG_MEDIA_SUPPORT=y
CONFIG_VIDEO_AU0828=y
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/misc/sgi-xp')
0 files changed, 0 insertions, 0 deletions