[media] media/radio/shark2: Fix build error caused by missing dependencies
authorArnd Bergmann <arnd@arndb.de>
Wed, 22 Aug 2012 17:57:01 +0000 (14:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 17:56:36 +0000 (14:56 -0300)
commitf39a0dd62a1a0e674078c3273977bf055a21f80d
treebba7aea87272d002aac84c1b30fa71bd265fc47e
parent3f14513d0a825ba0c2f2c4227af2bac4f864a9e0
[media] media/radio/shark2: Fix build error caused by missing dependencies

Without this patch, building rand-0y2jSKT results in:

WARNING: drivers/usb/musb/musb_hdrc.o(.devinit.text+0x9b8): Section mismatch in reference from the function musb_init_controller() to the function .init.text:dma_controller_create()
The function __devinit musb_init_controller() references
a function __init dma_controller_create().
If dma_controller_create is only used by musb_init_controller then
annotate dma_controller_create with a matching annotation.

ERROR: "snd_tea575x_init" [drivers/media/radio/radio-shark.ko] undefined!
ERROR: "snd_tea575x_exit" [drivers/media/radio/radio-shark.ko] undefined!
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make: *** [sub-make] Error 2

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
sound/pci/Kconfig