From: Dmitry Shmidt Date: Fri, 2 Jul 2010 21:47:44 +0000 (-0700) Subject: drivers: usb: gadget: rndis: Fix section mismatch warning X-Git-Tag: firefly_0821_release~7613^2~801 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7aea3853329a1af39519b5e22e06baba7fdfa1bd;p=firefly-linux-kernel-4.4.55.git drivers: usb: gadget: rndis: Fix section mismatch warning Signed-off-by: Dmitry Shmidt --- diff --git a/drivers/usb/gadget/f_rndis.c b/drivers/usb/gadget/f_rndis.c index c0c3280a0b61..54d18304500d 100644 --- a/drivers/usb/gadget/f_rndis.c +++ b/drivers/usb/gadget/f_rndis.c @@ -879,7 +879,7 @@ fail: #ifdef CONFIG_USB_ANDROID_RNDIS #include "rndis.c" -static int __init rndis_probe(struct platform_device *pdev) +static int rndis_probe(struct platform_device *pdev) { rndis_pdata = pdev->dev.platform_data; return 0;