All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFT V2] watchdog: gef_wdt.c: add missing remove callback
@ 2012-11-02 18:17 Devendra Naga
  0 siblings, 0 replies; only message in thread
From: Devendra Naga @ 2012-11-02 18:17 UTC (permalink / raw)
  To: Wim Van Sebroeck, linux-watchdog; +Cc: Devendra Naga

this module missed a remove callback in the platform ops.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
---
 V2: add missing __devexit_p
 Hi,

 I didn't compile it even, i didn't have any crosstoolchain

 drivers/watchdog/gef_wdt.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/watchdog/gef_wdt.c b/drivers/watchdog/gef_wdt.c
index 17f4cae..3e360ed 100644
--- a/drivers/watchdog/gef_wdt.c
+++ b/drivers/watchdog/gef_wdt.c
@@ -310,6 +310,7 @@ static struct platform_driver gef_wdt_driver = {
 		.of_match_table = gef_wdt_ids,
 	},
 	.probe		= gef_wdt_probe,
+	.remove		= __devexit_p(gef_wdt_remove),
 };
 
 static int __init gef_wdt_init(void)
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-02 18:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-02 18:17 [PATCH RFT V2] watchdog: gef_wdt.c: add missing remove callback Devendra Naga

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.