summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-04-08 15:23:06 -0600
committerTom Rini <[email protected]>2025-04-08 16:23:27 -0600
commitfba8bfdd0bf2db1edd0383ba89a0c6037a6fe807 (patch)
treee6389f796e17959417c99a9ca196d373ffec4c94 /include
parenta1dd42950dee5e0da8fb5e053d8506eaa4000bf4 (diff)
parentfecc50b0517d362b4db173b08a769f7b975d8255 (diff)
Merge patch series "acpi: simplify updating ACPI table header checksum"
Heinrich Schuchardt <[email protected]> says: Introduce a new function to update ACPI table headers. This allows to simplify the existing code. Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include')
-rw-r--r--include/acpi/acpi_table.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/acpi/acpi_table.h b/include/acpi/acpi_table.h
index 8ef19adc990..05b6385544e 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>