Skip to content
Commit 3e540486 authored by Hannes Eder's avatar Hannes Eder Committed by Len Brown
Browse files

ACPI: EC: fix compilation warning

Fix the warning introduced in commit c5279dee

,
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: default avatarHannes Eder <hannes@hanneseder.net>
Acked-by: default avatarAlexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent c5279dee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment