]> Pileus Git - ~andy/linux/commit
[media] staging/media: fix go7007 dependencies and build
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 16 Apr 2013 14:33:22 +0000 (11:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Apr 2013 21:27:03 +0000 (18:27 -0300)
commit16b196e5b275040cbe679e7a917e8eefe5643475
tree6cfb5483457ecfd2ed5e0b341bc75a00077cb40b
parent430c73fa476808d825cb2cab37bbfabbc0a31d42
[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: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/go7007/Kconfig