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