summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/rndis.h
diff options
context:
space:
mode:
authorHenrik Kretzschmar <henne@nachtwindheim.de>2010-08-20 19:57:50 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-04 02:33:40 +0200
commit793f03aa7bda8f492e12ada3de711b4ad7f4d8d0 (patch)
tree64acd2002a82409b37d1d7e130de0bea4f44a4d0 /drivers/usb/gadget/rndis.h
parentUSB: ehci-ppc-of: problems in unwind (diff)
downloadlinux-793f03aa7bda8f492e12ada3de711b4ad7f4d8d0.tar.xz
linux-793f03aa7bda8f492e12ada3de711b4ad7f4d8d0.zip
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>
Diffstat (limited to 'drivers/usb/gadget/rndis.h')
-rw-r--r--drivers/usb/gadget/rndis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/rndis.h b/drivers/usb/gadget/rndis.h
index c236aaa9dcd1..907c33008118 100644
--- a/drivers/usb/gadget/rndis.h
+++ b/drivers/usb/gadget/rndis.h
@@ -262,7 +262,7 @@ int rndis_signal_disconnect (int configNr);
int rndis_state (int configNr);
extern void rndis_set_host_mac (int configNr, const u8 *addr);
-int __devinit rndis_init (void);
+int rndis_init(void);
void rndis_exit (void);
#endif /* _LINUX_RNDIS_H */