Skip to content

Commit

Permalink
usb: gadget: mass_storage: Place EXPORT_SYMBOL_GPL() after func defin…
Browse files Browse the repository at this point in the history
…ition

EXPORT_SYMBOL_GPL() is usually placed after function definition
not before.

Signed-off-by: Krzysztof Opasiak <[email protected]>
Acked-by: Michal Nazarewicz <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
  • Loading branch information
kopasiak authored and Felipe Balbi committed Jul 29, 2015
1 parent 903588a commit bab7a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/f_mass_storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit bab7a1f

Please sign in to comment.