]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
usb: gadget: mv_udc: add section information
authorNeil Zhang <zhangwm@marvell.com>
Wed, 12 Oct 2011 08:49:25 +0000 (16:49 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Oct 2011 17:41:56 +0000 (20:41 +0300)
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>
drivers/usb/gadget/mv_udc_core.c

index 40a25e75cc6ac8c8ccd686aeb39ea3d58fcaa19d..cd4de00a3ff5b87136872a3d031c424384ebc8ab 100644 (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;