diff options
author | Rashika <rashika.kheria@gmail.com> | 2013-12-17 04:13:05 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-05 18:13:22 -0500 |
commit | 66e162b3931be6362bb6885ecc422d192f748145 (patch) | |
tree | 56186aa3451be1d6441e000fb1b0fc4dc350469c /drivers/acpi/osl.c | |
parent | 43575faab3967b7b48aeb1c30f823b8233517552 (diff) |
ACPI / OSL: Mark the function acpi_table_checksum() as static
Marks the function acpi_table_checksum() as static in osl.c
because it is not used outside this file.
This eliminates the following warning in osl.c:
drivers/acpi/osl.c:547:11: warning: no previous prototype for
‘acpi_table_checksum’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 26c111341ead..7865a8069340 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -540,7 +540,7 @@ static u64 acpi_tables_addr; | |||
540 | static int all_tables_size; | 540 | static int all_tables_size; |
541 | 541 | ||
542 | /* Copied from acpica/tbutils.c:acpi_tb_checksum() */ | 542 | /* Copied from acpica/tbutils.c:acpi_tb_checksum() */ |
543 | u8 __init acpi_table_checksum(u8 *buffer, u32 length) | 543 | static u8 __init acpi_table_checksum(u8 *buffer, u32 length) |
544 | { | 544 | { |
545 | u8 sum = 0; | 545 | u8 sum = 0; |
546 | u8 *end = buffer + length; | 546 | u8 *end = buffer + length; |