w1: omap-hdq: add section annotation to remove
authorFelipe Balbi <balbi@ti.com>
Wed, 25 Jul 2012 12:05:27 +0000 (15:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 16:58:43 +0000 (09:58 -0700)
trivial patch, no functional changes.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/omap_hdq.c

index 4b0fcf3c2d035f8aba0d0e0ba938f34df6621ef2..38b0138ce74d8c5e4b48f2d4164ebfc5668fee7b 100644 (file)
@@ -73,11 +73,11 @@ struct hdq_data {
 };
 
 static int __devinit omap_hdq_probe(struct platform_device *pdev);
-static int omap_hdq_remove(struct platform_device *pdev);
+static int __devexit omap_hdq_remove(struct platform_device *pdev);
 
 static struct platform_driver omap_hdq_driver = {
        .probe =        omap_hdq_probe,
-       .remove =       omap_hdq_remove,
+       .remove =       __devexit_p(omap_hdq_remove),
        .driver =       {
                .name = "omap_hdq",
        },
@@ -628,7 +628,7 @@ err_kmalloc:
 
 }
 
-static int omap_hdq_remove(struct platform_device *pdev)
+static int __devexit omap_hdq_remove(struct platform_device *pdev)
 {
        struct hdq_data *hdq_data = platform_get_drvdata(pdev);
 
This page took 0.026233 seconds and 5 git commands to generate.