Skip to content

Commit

Permalink
watchdog: ie6xx_wdt: section mismatch in ie6xx_wdt_probe()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gerard Snitselaar authored and Wim Van Sebroeck committed Jul 23, 2012
1 parent 5a135f3 commit 0402450
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/watchdog/ie6xx_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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
Expand Down

0 comments on commit 0402450

Please sign in to comment.