thinkpad-acpi: fix CONFIG_THINKPAD_ACPI_HOTKEY_POLL build problem
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 27 Sep 2009 00:42:49 +0000 (21:42 -0300)
committerLen Brown <len.brown@intel.com>
Sun, 27 Sep 2009 06:13:06 +0000 (02:13 -0400)
commitb684a3637e0887683a0a3d6fd471fc41d7c1606a
tree8dd84010d99afb089139098044226f53e08e1053
parent0d9df2515dbceb67d343c0f10fd3ff218380d524
thinkpad-acpi: fix CONFIG_THINKPAD_ACPI_HOTKEY_POLL build problem

Fix this problem when CONFIG_THINKPAD_ACPI_HOTKEY_POLL is undefined:

  CHECK   drivers/platform/x86/thinkpad_acpi.c
drivers/platform/x86/thinkpad_acpi.c:1968:21: error: not an lvalue
  CC [M]  drivers/platform/x86/thinkpad_acpi.o
drivers/platform/x86/thinkpad_acpi.c: In function 'tpacpi_hotkey_driver_mask_set':
drivers/platform/x86/thinkpad_acpi.c:1968: error: lvalue required as left operand of assignment

Reported-by: Noah Dain <noahdain@gmail.com>
Reported-by: Audrius Kazukauskas <audrius@neutrino.lt>
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/thinkpad_acpi.c