ACPI: EC: fix compilation warning
authorHannes Eder <hannes@hanneseder.net>
Sat, 29 Nov 2008 06:21:29 +0000 (07:21 +0100)
committerLen Brown <len.brown@intel.com>
Sun, 30 Nov 2008 05:10:31 +0000 (00:10 -0500)
commit3e54048691bce3f323fd5460695273be379803b9
tree53961b52b6db754a48f02fb93425c78379719f9b
parentc5279dee26c0e8d7c4200993bfc4b540d2469598
ACPI: EC: fix compilation warning

Fix the warning introduced in commit c5279dee26c0e8d7c4200993bfc4b540d2469598,
and give the dummy variable a more verbose name.

  drivers/acpi/ec.c: In function 'acpi_ec_ecdt_probe':
  drivers/acpi/ec.c:1015: warning: ISO C90 forbids mixed declarations and code

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Acked-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c