diff options
-rw-r--r-- | drivers/w1/masters/omap_hdq.c | 6 |
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 { | |||
73 | }; | 73 | }; |
74 | 74 | ||
75 | static int __devinit omap_hdq_probe(struct platform_device *pdev); | 75 | static int __devinit omap_hdq_probe(struct platform_device *pdev); |
76 | static int omap_hdq_remove(struct platform_device *pdev); | 76 | static int __devexit omap_hdq_remove(struct platform_device *pdev); |
77 | 77 | ||
78 | static struct platform_driver omap_hdq_driver = { | 78 | static struct platform_driver omap_hdq_driver = { |
79 | .probe = omap_hdq_probe, | 79 | .probe = omap_hdq_probe, |
80 | .remove = omap_hdq_remove, | 80 | .remove = __devexit_p(omap_hdq_remove), |
81 | .driver = { | 81 | .driver = { |
82 | .name = "omap_hdq", | 82 | .name = "omap_hdq", |
83 | }, | 83 | }, |
@@ -628,7 +628,7 @@ err_kmalloc: | |||
628 | 628 | ||
629 | } | 629 | } |
630 | 630 | ||
631 | static int omap_hdq_remove(struct platform_device *pdev) | 631 | static int __devexit omap_hdq_remove(struct platform_device *pdev) |
632 | { | 632 | { |
633 | struct hdq_data *hdq_data = platform_get_drvdata(pdev); | 633 | struct hdq_data *hdq_data = platform_get_drvdata(pdev); |
634 | 634 | ||