summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2015-07-20 20:15:18 +0200
committerFelipe Balbi <balbi@ti.com>2015-07-29 09:59:19 -0500
commitbab7a1f199fa617c7a0600c74ebbb514aed6dbe8 (patch)
tree9d6dc4772172684c8d6f4648cc0336b7a2f5faac
parent903588a99c26ed6f103eaa0cfa4ccbe9cd779398 (diff)
downloadblackbird-op-linux-bab7a1f199fa617c7a0600c74ebbb514aed6dbe8.tar.gz
blackbird-op-linux-bab7a1f199fa617c7a0600c74ebbb514aed6dbe8.zip
usb: gadget: mass_storage: Place EXPORT_SYMBOL_GPL() after func definition
EXPORT_SYMBOL_GPL() is usually placed after function definition not before. Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r--drivers/usb/gadget/function/f_mass_storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/function/f_mass_storage.c b/drivers/usb/gadget/function/f_mass_storage.c
index f72102adc7ef..c3b62c7cb584 100644
--- a/drivers/usb/gadget/function/f_mass_storage.c
+++ b/drivers/usb/gadget/function/f_mass_storage.c
@@ -2761,12 +2761,12 @@ static void _fsg_common_remove_luns(struct fsg_common *common, int n)
common->luns[i] = NULL;
}
}
-EXPORT_SYMBOL_GPL(fsg_common_remove_luns);
void fsg_common_remove_luns(struct fsg_common *common)
{
_fsg_common_remove_luns(common, common->nluns);
}
+EXPORT_SYMBOL_GPL(fsg_common_remove_luns);
void fsg_common_free_luns(struct fsg_common *common)
{
OpenPOWER on IntegriCloud