diff options
| author | Heinrich Schuchardt <[email protected]> | 2025-03-22 00:21:16 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-04-08 15:22:56 -0600 |
| commit | 69e61d46d2dcdcf84a3a7aed7cf74ac3b3b850fd (patch) | |
| tree | 6312749e02915e1a9ffd0f33aa5a4005190dcbcf /include | |
| parent | c0267678948bf9df776cca011c8f5329fee2f4c0 (diff) | |
acpi: new function acpi_update_checksum()
Introduce a new function to update ACPI table headers.
This allows to simplify the existing code.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Matthias Brugger <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/acpi_table.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/acpi/acpi_table.h b/include/acpi/acpi_table.h index b8b1f1338c6..f8e5f552ab1 100644 --- a/include/acpi/acpi_table.h +++ b/include/acpi/acpi_table.h @@ -1274,6 +1274,13 @@ ulong write_acpi_tables(ulong start); */ struct acpi_table_header *acpi_find_table(const char *sig); +/** + * acpi_update_checksum() - update ACPI table checksum + * + * @header - header of an ACPI table + */ +void acpi_update_checksum(struct acpi_table_header *header); + #endif /* !__ACPI__*/ #include <asm/acpi_table.h> |
