Commit 16b196e5 authored by Randy Dunlap's avatar Randy Dunlap Committed by Mauro Carvalho Chehab

[media] staging/media: fix go7007 dependencies and build

VIDEO_GO7007 uses usb interfaces so it should depend on USB.
It also selects CYPRESS_FIRMWARE, which depends on USB.
Fixes build errors and a kconfig warning:
go7007-loader.c:(.text+0xcc7d0): undefined reference to `usb_get_dev'
go7007-loader.c:(.init.text+0x49f0): undefined reference to `usb_register_driver'
go7007-loader.c:(.exit.text+0x17ce): undefined reference to `usb_deregister'
warning: (DVB_USB_AZ6007 && VIDEO_GO7007) selects CYPRESS_FIRMWARE which has unmet direct dependencies (MEDIA_SUPPORT && USB)
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 430c73fa
config VIDEO_GO7007 config VIDEO_GO7007
tristate "WIS GO7007 MPEG encoder support" tristate "WIS GO7007 MPEG encoder support"
depends on VIDEO_DEV && I2C depends on VIDEO_DEV && I2C
depends on SND depends on SND && USB
select VIDEOBUF2_VMALLOC select VIDEOBUF2_VMALLOC
select VIDEO_TUNER select VIDEO_TUNER
select CYPRESS_FIRMWARE select CYPRESS_FIRMWARE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment