Commit a9c30768 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

ACPI: EC: Declare boot_ec as static

The boot_ec variable is not used outside of the file it is defined
in, so declare it as static.

No intentional functional impact.
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent fdb3c177
...@@ -186,8 +186,10 @@ static void advance_transaction(struct acpi_ec *ec); ...@@ -186,8 +186,10 @@ static void advance_transaction(struct acpi_ec *ec);
static void acpi_ec_event_handler(struct work_struct *work); static void acpi_ec_event_handler(struct work_struct *work);
static void acpi_ec_event_processor(struct work_struct *work); static void acpi_ec_event_processor(struct work_struct *work);
struct acpi_ec *boot_ec, *first_ec; struct acpi_ec *first_ec;
EXPORT_SYMBOL(first_ec); EXPORT_SYMBOL(first_ec);
static struct acpi_ec *boot_ec;
static bool boot_ec_is_ecdt = false; static bool boot_ec_is_ecdt = false;
static struct workqueue_struct *ec_query_wq; static struct workqueue_struct *ec_query_wq;
......
Markdown is supported
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