thinkpad-acpi: fix CONFIG_THINKPAD_ACPI_HOTKEY_POLL build problem
commitb962f72506fb91bcae3fa66f08f7241761201f31
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 27 Sep 2009 01:10:19 +0000 (26 22:10 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 27 Sep 2009 15:16:54 +0000 (27 12:16 -0300)
tree051205763ffa3b3156026128894d44517955aa00
parent008cda4975c00853d7130df5bbe7d07bad415548
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>
drivers/platform/x86/thinkpad_acpi.c