WATCHDOG: fix build PM warnings
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 8 Nov 2012 10:51:03 +0000 (10:51 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 8 Nov 2012 10:54:16 +0000 (10:54 +0000)
commit60d6dd530a6a31c85af9e37eadcb0f90acc76209
tree023f8e847208b009435d83cc738d6a39412c5b68
parent3d70f8c617a436c7146ecb81df2265b4626dfe89
WATCHDOG: fix build PM warnings

drivers/watchdog/sp805_wdt.c:288:12: warning: 'sp805_wdt_suspend' defined but not used
drivers/watchdog/sp805_wdt.c:298:12: warning: 'sp805_wdt_resume' defined but not used

This is caused by the wrong config symbol being used for these functions.
Rather than fixing that, mark the functions with __maybe_unused

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/watchdog/sp805_wdt.c