usb: gadget: mv_udc: add section information

Tag the probe function as __devinit.
Tag the remove function as __devexit.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Neil Zhang 2011-10-12 16:49:25 +08:00 committed by Felipe Balbi
parent dde34cc501
commit 5d0b8d0f3a

View file

@ -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;