diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-01 04:57:01 -0500 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-01 05:45:53 -0500 |
| commit | a9c3076846beea073428852753ec54b862a65fe6 (patch) | |
| tree | 249cca7dc1dae512e4e25f7b547b47257b324eb9 | |
| parent | fdb3c177657033bfeff5652891bb67ff6e86b557 (diff) | |
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: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
| -rw-r--r-- | drivers/acpi/ec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index b94f92a095fd..c185666ad05c 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
| @@ -186,8 +186,10 @@ static void advance_transaction(struct acpi_ec *ec); | |||
| 186 | static void acpi_ec_event_handler(struct work_struct *work); | 186 | static void acpi_ec_event_handler(struct work_struct *work); |
| 187 | static void acpi_ec_event_processor(struct work_struct *work); | 187 | static void acpi_ec_event_processor(struct work_struct *work); |
| 188 | 188 | ||
| 189 | struct acpi_ec *boot_ec, *first_ec; | 189 | struct acpi_ec *first_ec; |
| 190 | EXPORT_SYMBOL(first_ec); | 190 | EXPORT_SYMBOL(first_ec); |
| 191 | |||
| 192 | static struct acpi_ec *boot_ec; | ||
| 191 | static bool boot_ec_is_ecdt = false; | 193 | static bool boot_ec_is_ecdt = false; |
| 192 | static struct workqueue_struct *ec_query_wq; | 194 | static struct workqueue_struct *ec_query_wq; |
| 193 | 195 | ||
