Skip to content

Commit

Permalink
ACPI: PCC: pcc_ctx can be static
Browse files Browse the repository at this point in the history
drivers/acpi/acpi_pcc.c:34:22: warning: symbol 'pcc_ctx' was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
kernel test robot authored and Rafael J. Wysocki committed Jan 12, 2022
1 parent bca2175 commit 415b4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/acpi_pcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct pcc_data {
struct acpi_pcc_info ctx;
};

struct acpi_pcc_info pcc_ctx;
static struct acpi_pcc_info pcc_ctx;

static void pcc_rx_callback(struct mbox_client *cl, void *m)
{
Expand Down

0 comments on commit 415b4b6

Please sign in to comment.