ACPI: thinkpad-acpi: silence _sta warning
commitb01e6ffa648673891787c917120e9f0b5677c05f
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 28 Dec 2007 03:29:03 +0000 (28 01:29 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Mon, 11 Feb 2008 17:23:30 +0000 (11 15:23 -0200)
treea32ffb4d23215b5649229ebaafd48dd405c05a1b
parent4df7b4e8d4d5c13f6c1a9d4ed35fa76801b4f419
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