]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit920a3c69c54ff39eb9a9c7c0bd7a810bb68cdbca
tree0dbbd9a819ff724be7fc6723c50f1c8405499969
parent6a7f399dc7dd413e6c12303f3fa8e11caf2c9817
[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