From: Alexey Dobriyan Date: Thu, 1 Nov 2007 23:27:08 +0000 (-0700) Subject: [WATCHDOG] spin_lock_init() fixes X-Git-Tag: v2.6.24-rc2~53^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7dfd0cca300c5dc49213cf1c78c77393600410d;p=pandora-kernel.git [WATCHDOG] spin_lock_init() fixes Some watchdog drivers initialize global spinlocks in module's init function which is tolerable, but some do it in PCI probe function. So, switch to static initialization to fix theoretical bugs and, more importantly, stop giving people bad examples. Signed-off-by: Alexey Dobriyan Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton --- Reading git-diff-tree failed