usb: musb: Make dma_controller_create __devinit
authorShubhrajyoti D <shubhrajyoti@ti.com>
Thu, 9 Aug 2012 14:38:32 +0000 (20:08 +0530)
committerFelipe Balbi <balbi@ti.com>
Thu, 9 Aug 2012 15:05:07 +0000 (18:05 +0300)
commit07a67bbb95ea7977846bd851dab5f4f2be8e488c
tree332b3cab3e2c53c070ea108f7f0ec418a3131624
parentf69dfa1f01e20387ada601f2bf772061d79e6a8f
usb: musb: Make dma_controller_create __devinit

dma_controller_create is called only from musb_init_controller
which is __devint so annotate dma_controller_create also with
__devint.

fixes the warn

WARNING: vmlinux.o(.devinit.text+0x6fa8): 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.

Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/cppi_dma.c
drivers/usb/musb/musb_dma.h
drivers/usb/musb/musbhsdma.c
drivers/usb/musb/tusb6010_omap.c
drivers/usb/musb/ux500_dma.c