diff options
author | Dan Williams <dan.j.williams@intel.com> | 2023-11-03 01:07:02 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2023-11-03 01:17:21 +0300 |
commit | 4b92894064b3df472b2cf5741c7f080e16dcd1ec (patch) | |
tree | d91e2d6e797895c960355693f9f9ffb0755b29f3 /drivers/rtc/rtc-test.c | |
parent | b3741ac86c8e648709506102f7ab51905d50df43 (diff) | |
download | linux-4b92894064b3df472b2cf5741c7f080e16dcd1ec.tar.xz |
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: a103f46633fd ("acpi: Move common tables helper functions to common lib")
Cc: Dave Jiang <dave.jiang@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: http://lore.kernel.org/r/20231030160523.670a7569@canb.auug.org.au
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/169896282222.70775.940454758280866379.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/rtc/rtc-test.c')
0 files changed, 0 insertions, 0 deletions