summaryrefslogtreecommitdiffstats
path: root/drivers/w1/masters
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-07-25 14:05:27 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-16 18:58:43 +0200
commit8c3db42fea94cc360446602d3d1a4f50ae98af16 (patch)
treef1a0b093b0b1a60b825ab14ce8fb62a6608032de /drivers/w1/masters
parentmei: wd: use watchdog_set/get_drvdata for passing mei_device (diff)
downloadlinux-8c3db42fea94cc360446602d3d1a4f50ae98af16.tar.xz
linux-8c3db42fea94cc360446602d3d1a4f50ae98af16.zip
w1: omap-hdq: add section annotation to remove
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>
Diffstat (limited to 'drivers/w1/masters')
-rw-r--r--drivers/w1/masters/omap_hdq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c
index 4b0fcf3c2d03..38b0138ce74d 100644
--- a/drivers/w1/masters/omap_hdq.c
+++ b/drivers/w1/masters/omap_hdq.c
@@ -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);