]> git.baikalelectronics.ru Git - kernel.git/commit
USB: rndis: section mismatch fix
authorHenrik Kretzschmar <henne@nachtwindheim.de>
Fri, 20 Aug 2010 17:57:50 +0000 (19:57 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 4 Sep 2010 00:33:40 +0000 (17:33 -0700)
commit08705a3ddec0de790e5c2d5408d9e63d74500530
tree64acd2002a82409b37d1d7e130de0bea4f44a4d0
parent007944f7665fbb340d831f9714be75f7de49be52
USB: rndis: section mismatch fix

This patch removes the following section mismatch warning,
by moving the function rndis_init() from .init.text to .text.

WARNING: vmlinux.o(.text+0x1aeca5a): Section mismatch in reference from the function rndis_bind_config() to the function .init.text:rndis_init()
The function rndis_bind_config() references
the function __init rndis_init().
This is often because rndis_bind_config lacks a __init
annotation or the annotation of rndis_init is wrong.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/rndis.c
drivers/usb/gadget/rndis.h