Skip to content

Commit 415b4b6

Browse files
intel-lab-lkprafaeljw
authored andcommitted
ACPI: PCC: pcc_ctx can be static
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>
1 parent bca2175 commit 415b4b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/acpi_pcc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct pcc_data {
3131
struct acpi_pcc_info ctx;
3232
};
3333

34-
struct acpi_pcc_info pcc_ctx;
34+
static struct acpi_pcc_info pcc_ctx;
3535

3636
static void pcc_rx_callback(struct mbox_client *cl, void *m)
3737
{

0 commit comments

Comments
 (0)