diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-03-07 10:36:27 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-19 07:24:19 -0700 |
commit | f88f6691b73a35b0c6dcabb9e587aa4c63d09010 (patch) | |
tree | 99d75b65695e7fea38c002643ac299bcae87ac06 /drivers/net/eexpress.c | |
parent | f2984a333fb5e325d478950c9d8af3693869e69c (diff) | |
download | linux-rt-f88f6691b73a35b0c6dcabb9e587aa4c63d09010.tar.gz |
USB: g_mass_storage: fix section mismatch warnings
The recent commit (0e530b45783f75) that moved usb_ep_autoconfig from the
__devinit section to the __init section missed the mass storage device.
Its fsg_bind() function uses the usb_ep_autoconfig() function from non
__init context leading to:
WARNING: drivers/usb/gadget/g_mass_storage.o(.text): Section mismatch in
reference from the function _fsg_bind()
to the function .init.text:_usb_ep_autoconfig()
So move fsg_bind() into __init as well.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/eexpress.c')
0 files changed, 0 insertions, 0 deletions