]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / configfs: Mark local data structures static
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 11 Mar 2019 14:04:30 +0000 (16:04 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 12 Mar 2019 08:50:56 +0000 (09:50 +0100)
commit8ba05def2c4913cd47841ba1725f9759cc9c244b
tree5b4edc08b64692907579ac2434bad812c5ec9a2d
parent8af89d8d7ddefaf461ba75b6964ec526e2d97be0
ACPI / configfs: Mark local data structures static

There is no need to have non-static local data structures. otherwise
sparse is not happy:

  CHECK   drivers/acpi/acpi_configfs.c
drivers/acpi/acpi_configfs.c:100:31: warning: symbol 'acpi_table_bin_attrs' was not declared. Should it be static?
drivers/acpi/acpi_configfs.c:196:27: warning: symbol 'acpi_table_attrs' was not declared. Should it be static?
drivers/acpi/acpi_configfs.c:236:34: warning: symbol 'acpi_table_group_ops' was not declared. Should it be static?

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_configfs.c