Skip to contentSkip to conversation

watchdog: gef_wdt.c: add missing remove callback

PATCH New Devendra Naga 1 participant 1 message Nov 2, 2012 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 watchdog: gef_wdt.c: add missing remove callback

this module missed a remove callback in the platform ops.

---
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(+)
drivers/watchdog/gef_wdt.c +1 -0
index 17f4cae..3e360ed 100644
@@ -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)
Signature · 1 line
1.7.10.4