ACPI: thinkpad-acpi: silence _sta warning
commit8e427876dcf4e250ff3b377a9fbc5548015d82df
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 28 Dec 2007 05:29:03 +0000 (28 03:29 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 26 Feb 2008 02:34:17 +0000 (25 23:34 -0300)
tree9e73ad545b18aea0c2ea7df217db451481b7ecb7
parent83661bb73bdc32739cb0b1215bc5fe24c8368f6f
ACPI: thinkpad-acpi: silence _sta warning

When both CONFIG_THINKPAD_ACPI_DOCK and CONFIG_THINKPAD_ACPI_BAY are
undefined, _sta is not used and that causes a gcc warning.  Fix it
(and I think this is a regression, I am pretty sure I fixed this once
before, sorry about that).

Issue reported by: Pritt Laes.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Pritt Laes <plaes@plaes.org>
drivers/misc/thinkpad_acpi.c