drivers: usb: gadget: Fix section mismatch warning
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
committed by
Colin Cross
parent
28acc1a88c
commit
577e37a65b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user