usb: gadget: FunctionFS: make module init & exit __init & __exit
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Mon, 12 Mar 2012 11:55:42 +0000 (12:55 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Apr 2012 16:11:47 +0000 (19:11 +0300)
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>
drivers/usb/gadget/g_ffs.c

index 331cd67..a85eaf4 100644 (file)
@@ -161,7 +161,7 @@ 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();
 
@@ -169,7 +169,7 @@ static int  gfs_init(void)
 }
 module_init(gfs_init);
 
-static void  gfs_exit(void)
+static void __exit gfs_exit(void)
 {
        ENTER();