Skip to contentSkip to conversation

watchdog/ie6xx_wdt: section mismatch in ie6xx_wdt_probe()

PATCH In review Gerard Snitselaar 2 participants 2 messages Jul 4, 2012 – Jul 8, 2012 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog/ie6xx_wdt: section mismatch in ie6xx_wdt_probe()

ie6xx_wdt_probe() calls ie6xx_wdt_debugfs_exit() as part of it's error cleanup path, and ie6xx_wdt_debugfs_exit() is currently annotated __devexit.

---
 drivers/watchdog/ie6xx_wdt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/watchdog/ie6xx_wdt.c +2 -2
index 5f0d776..8f541b9 100644
@@ -232,7 +232,7 @@ static void __devinit ie6xx_wdt_debugfs_init(void)
 		S_IFREG | S_IRUGO, NULL, NULL, &ie6xx_wdt_dbg_operations);
 }
 
-static void __devexit ie6xx_wdt_debugfs_exit(void)
+static void ie6xx_wdt_debugfs_exit(void)
 {
 	debugfs_remove(ie6xx_wdt_data.debugfs);
 }
@@ -242,7 +242,7 @@ static void __devinit ie6xx_wdt_debugfs_init(void)
 {
 }
 
-static void __devexit ie6xx_wdt_debugfs_exit(void)
+static void ie6xx_wdt_debugfs_exit(void)
 {
 }
 #endif
Signature · 1 line
1.7.11.rc0.55.gb2478aa
#1 lore raw

Hi Gerard,

Quoted 5 lines

ie6xx_wdt_probe() calls ie6xx_wdt_debugfs_exit() as part of it's error cleanup path, and ie6xx_wdt_debugfs_exit() is currently annotated __devexit.

Added to linux-watchdog-next.

Kind regards,
Wim.