OSDN Git Service

drivers: usb: gadget: Fix section mismatch warning
authorDmitry Shmidt <dimitrysh@google.com>
Fri, 2 Jul 2010 19:46:34 +0000 (12:46 -0700)
committerBrian Swetland <swetland@google.com>
Tue, 29 Mar 2011 20:57:45 +0000 (13:57 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/usb/gadget/android.c

index c7a5478..e258f18 100644 (file)
@@ -136,7 +136,7 @@ static void bind_functions(struct android_dev *dev)
        }
 }
 
-static int __init android_bind_config(struct usb_configuration *c)
+static int android_bind_config(struct usb_configuration *c)
 {
        struct android_dev *dev = _android_dev;
 
@@ -220,7 +220,7 @@ static int get_product_id(struct android_dev *dev)
        return dev->product_id;
 }
 
-static int __init android_bind(struct usb_composite_dev *cdev)
+static int android_bind(struct usb_composite_dev *cdev)
 {
        struct android_dev *dev = _android_dev;
        struct usb_gadget       *gadget = cdev->gadget;
@@ -352,7 +352,7 @@ void android_enable_function(struct usb_function *f, int enable)
        }
 }
 
-static int __init android_probe(struct platform_device *pdev)
+static int android_probe(struct platform_device *pdev)
 {
        struct android_usb_platform_data *pdata = pdev->dev.platform_data;
        struct android_dev *dev = _android_dev;