[PATCH 1/1] acpi: remove duplicate declaration of acpi_fill_header()

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sun Jan 21 15:05:00 CET 2024


acpi_fill_header() is declared twice in include/acpi/acpi_table.h

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
 include/acpi/acpi_table.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/include/acpi/acpi_table.h b/include/acpi/acpi_table.h
index e67562ef654..2e22ce92996 100644
--- a/include/acpi/acpi_table.h
+++ b/include/acpi/acpi_table.h
@@ -828,16 +828,6 @@ void acpi_create_dbg2(struct acpi_dbg2_header *dbg2,
 		      struct acpi_gen_regaddr *address, uint32_t address_size,
 		      const char *device_path);
 
-/**
- * acpi_fill_header() - Set up a new table header
- *
- * This sets all fields except length, revision, checksum and aslc_revision
- *
- * @header: ACPI header to update
- * @signature: Table signature to use (4 characters)
- */
-void acpi_fill_header(struct acpi_table_header *header, char *signature);
-
 /**
  * acpi_align() - Align the ACPI output pointer to a 16-byte boundary
  *
-- 
2.43.0



More information about the U-Boot mailing list