Skip to content

Commit 4b92894

Browse files
committed
lib/fw_table: Remove acpi_parse_entries_array() export
Stephen reports that the ACPI helper library rework, CONFIG_FIRMWARE_TABLE, introduces a new compiler warning: WARNING: modpost: vmlinux: acpi_parse_entries_array: EXPORT_SYMBOL used for init symbol. Remove __init or EXPORT_SYMBOL. Delete this export as it turns out it is unneeded, and future work wraps this in another exported helper. Note that in general EXPORT_SYMBOL_ACPI_LIB() is needed for exporting symbols that are marked __init_or_acpilib, but in this case no export is required. Fixes: a103f46 ("acpi: Move common tables helper functions to common lib") Cc: Dave Jiang <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Closes: http://lore.kernel.org/r/[email protected] Reviewed-by: Dave Jiang <[email protected]> Link: https://lore.kernel.org/r/169896282222.70775.940454758280866379.stgit@dwillia2-xfh.jf.intel.com Signed-off-by: Dan Williams <[email protected]>
1 parent b3741ac commit 4b92894

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/fw_table.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,3 @@ acpi_parse_entries_array(char *id, unsigned long table_size,
186186

187187
return errs ? -EINVAL : count;
188188
}
189-
EXPORT_SYMBOL_GPL(acpi_parse_entries_array);

0 commit comments

Comments
 (0)