[WATCHDOG] fix mtx1_wdt compilation failure
authorFlorian Fainelli <florian@openwrt.org>
Fri, 24 Oct 2008 17:52:56 +0000 (19:52 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 21 Nov 2008 08:20:49 +0000 (08:20 +0000)
commitf80e919bb42c191bbe60ab078a59b30336d11d3b
tree0dbbd9a819ff724be7fc6723c50f1c8405499969
parented313489badef16d700f5a3be50e8fd8f8294bc8
[WATCHDOG] fix mtx1_wdt compilation failure

Using spin_lock_irqsave with a local variable called flags without
declaring is a bad idea, fix this by declaring it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/mtx-1_wdt.c