diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2012-12-14 21:30:27 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-18 14:08:18 +0200 |
commit | 091a62c9b3d899d99dbf4e3dbebc8dfa3edbccdd (patch) | |
tree | 7a3f5091fb265e5be628f4e2f9a37b3504f4be19 /arch/arm/mach-imx | |
parent | 7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619 (diff) | |
download | blackbird-op-linux-091a62c9b3d899d99dbf4e3dbebc8dfa3edbccdd.tar.gz blackbird-op-linux-091a62c9b3d899d99dbf4e3dbebc8dfa3edbccdd.zip |
usb: musb: cppi_dma: drop '__init' annotation
This patch fixes the following:
WARNING: vmlinux.o(.text+0x1e709c): Section mismatch in reference from the funct
ion dma_controller_create() to the function .init.text:cppi_controller_start()
The function dma_controller_create() references
the function __init cppi_controller_start().
This is often because dma_controller_create lacks a __init
annotation or the annotation of cppi_controller_start is wrong.
This warning is there due to the deficiency in the commit 07a67bbb (usb: musb:
Make dma_controller_create __devinit).
Since the start() method is only called from musb_init_controller() which is
not annotated, drop '__init' annotation from cppi_controller_start() and also
cppi_pool_init() since it gets called from that function, to avoid another
section mismatch warning...
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: stable@vger.kernel.org # 3.7+
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/mach-imx')
0 files changed, 0 insertions, 0 deletions