Browse Source

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>
Neil Zhang 13 years ago
parent
commit
5d0b8d0f3a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/usb/gadget/mv_udc_core.c

+ 2 - 2
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;