summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2012-03-12 12:55:42 +0100
committerFelipe Balbi <balbi@ti.com>2012-04-10 19:11:47 +0300
commit8545e6031a719675da9f3d21f1c8ce143dac7fe5 (patch)
tree9f0a8315f61e923749a5448389320e1ef722ae21 /drivers
parente2190a97c6d493eef1f180b9dadfd5ffd4706051 (diff)
downloadlinux-8545e6031a719675da9f3d21f1c8ce143dac7fe5.tar.gz
linux-8545e6031a719675da9f3d21f1c8ce143dac7fe5.tar.bz2
linux-8545e6031a719675da9f3d21f1c8ce143dac7fe5.zip
usb: gadget: FunctionFS: make module init & exit __init & __exit
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/g_ffs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/g_ffs.c b/drivers/usb/gadget/g_ffs.c
index 331cd6729d3c..a85eaf40b948 100644
--- a/drivers/usb/gadget/g_ffs.c
+++ b/drivers/usb/gadget/g_ffs.c
@@ -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();