diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-04-25 22:04:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-26 11:30:02 +0200 |
commit | 9f41ebfb7e395650f001c2f711833ef1a37ac0d4 (patch) | |
tree | 8fc088441ca5caff403ad6600659684dd6ae57dc /init/init_task.c | |
parent | 942a48730faf149ccbf3e12ac718aee120bb3529 (diff) | |
download | op-kernel-dev-9f41ebfb7e395650f001c2f711833ef1a37ac0d4.zip op-kernel-dev-9f41ebfb7e395650f001c2f711833ef1a37ac0d4.tar.gz |
usb: musb: don't mark of_dev_auxdata as initdata
The probe function is not __init since it can be called for deferred
probing or when unbinding/rebinding the device, and therefore it must
not reference objects in __initdata, as pointed out by this link
time warning:
WARNING: drivers/usb/musb/da8xx.o(.text+0x9d4): Section mismatch in reference from the function da8xx_probe() to the (unknown reference) .init.data:(unknown)
This removes the annotation.
Reported-by: Olof's autobuilder <olof@lixom.net>
Fixes: d6299b6efbf6 ("usb: musb: Add support of CPPI 4.1 DMA controller to DA8xx")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions