watchdog: ie6xx_wdt: section mismatch in ie6xx_wdt_probe()
authorGerard Snitselaar <dev@snitselaar.org>
Wed, 4 Jul 2012 16:32:11 +0000 (09:32 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 23 Jul 2012 10:49:44 +0000 (12:49 +0200)
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.

Signed-off-by: Gerard Snitselaar <dev@snitselaar.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/ie6xx_wdt.c

index 5f0d776f902cfd178161ec3f9f4f34932738d2db..8f541b94005313367b2c57f9c0e209cd3cff7a9d 100644 (file)
@@ -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