Skip to content

Commit

Permalink
usb: gadget: FunctionFS: make module init & exit __init & __exit
Browse files Browse the repository at this point in the history
make module init & exit __init & __exit

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Andrzej Pietrasiewicz authored and Felipe Balbi committed Apr 10, 2012
1 parent e2190a9 commit 8545e60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/gadget/g_ffs.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,15 @@ static struct usb_composite_driver gfs_driver = {
static struct ffs_data *gfs_ffs_data;
static unsigned long gfs_registered;

static int gfs_init(void)
static int __init gfs_init(void)
{
ENTER();

return functionfs_init();
}
module_init(gfs_init);

static void gfs_exit(void)
static void __exit gfs_exit(void)
{
ENTER();

Expand Down

0 comments on commit 8545e60

Please sign in to comment.