From: Rafael J. Wysocki Date: Fri, 1 Feb 2019 09:57:01 +0000 (+0100) Subject: ACPI: EC: Declare boot_ec as static X-Git-Tag: v5.1-rc1~150^2~2^4~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9c3076846beea073428852753ec54b862a65fe6;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index b94f92a095fdd..c185666ad05c2 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -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_processor(struct work_struct *work); -struct acpi_ec *boot_ec, *first_ec; +struct acpi_ec *first_ec; EXPORT_SYMBOL(first_ec); + +static struct acpi_ec *boot_ec; static bool boot_ec_is_ecdt = false; static struct workqueue_struct *ec_query_wq;