From: Dmitry Shmidt Date: Fri, 2 Jul 2010 21:37:57 +0000 (-0700) Subject: drivers: usb: gadget: mass_storage: Fix section mismatch warning X-Git-Tag: firefly_0821_release~7613^2~802 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d43a1a559448193769a9e7c078fb6539b5fe875a;p=firefly-linux-kernel-4.4.55.git drivers: usb: gadget: mass_storage: Fix section mismatch warning Signed-off-by: Dmitry Shmidt --- diff --git a/drivers/usb/gadget/f_mass_storage.c b/drivers/usb/gadget/f_mass_storage.c index a5d2f24a0d9c..a296cd8655ad 100644 --- a/drivers/usb/gadget/f_mass_storage.c +++ b/drivers/usb/gadget/f_mass_storage.c @@ -3202,7 +3202,7 @@ fsg_common_from_params(struct fsg_common *common, static struct fsg_config fsg_cfg; -static int __init fsg_probe(struct platform_device *pdev) +static int fsg_probe(struct platform_device *pdev) { struct usb_mass_storage_platform_data *pdata = pdev->dev.platform_data; int i, nluns;