[PATCH] Fix uninitialised spinlock in via-pmu-backlight code.
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 29 Sep 2006 08:58:37 +0000 (01:58 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:03 +0000 (09:18 -0700)
commit4efd587bf9f9a97608b1fcecc78a4a046c37e9b1
treeee626d2ce4af18c0296df3f257079b76f71ae76d
parent910067d188d56d80801b71b0ca1f73aa400c7b8c
[PATCH] Fix uninitialised spinlock in via-pmu-backlight code.

The uninitialised pmu_backlight_lock causes the current Fedora test kernel
(which has spinlock debugging enabled) to panic on suspend.

This is suboptimal, so I fixed it.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Michael Hanselmann <linux-kernel@hansmi.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/macintosh/via-pmu-backlight.c