From: Neil Zhang Date: Wed, 12 Oct 2011 08:49:25 +0000 (+0800) Subject: usb: gadget: mv_udc: add section information X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d0b8d0f3af46c5364bc36f814cf2c407012dd1b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git usb: gadget: mv_udc: add section information Tag the probe function as __devinit. Tag the remove function as __devexit. Signed-off-by: Neil Zhang Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c index 40a25e75cc6a..cd4de00a3ff5 100644 --- a/drivers/usb/gadget/mv_udc_core.c +++ b/drivers/usb/gadget/mv_udc_core.c @@ -1909,7 +1909,7 @@ static void gadget_release(struct device *_dev) complete(udc->done); } -static int mv_udc_remove(struct platform_device *dev) +static int __devexit mv_udc_remove(struct platform_device *dev) { struct mv_udc *udc = the_controller; int clk_i; @@ -1956,7 +1956,7 @@ static int mv_udc_remove(struct platform_device *dev) return 0; } -int mv_udc_probe(struct platform_device *dev) +static int __devinit mv_udc_probe(struct platform_device *dev) { struct mv_usb_platform_data *pdata = dev->dev.platform_data; struct mv_udc *udc;