提交 5d0b8d0f 编写于 作者: N Neil Zhang 提交者: Felipe Balbi

usb: gadget: mv_udc: add section information

Tag the probe function as __devinit.
Tag the remove function as __devexit.
Signed-off-by: NNeil Zhang <zhangwm@marvell.com>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 dde34cc5
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册