diff options
author | Arnd Bergmann <[email protected]> | 2024-08-07 09:57:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-08-07 13:05:18 +0200 |
commit | a2a815c7be9bcd5d58f552aacbedcc3702e9a753 (patch) | |
tree | c1081d6de21efdae35134dadf76b04a40446f41d /drivers/fpga/fpga-bridge.c | |
parent | 2108aa2a01d850f850ed6ccea4e447100df9ee82 (diff) |
serial: 8250_platform: remove ACPI_PTR() annotation
The acpi_platform_serial_table[] array is defined globally without
an #ifdef check for CONFIG_ACPI, so ACPI_PTR() makes no sense
here:
drivers/tty/serial/8250/8250_platform.c:271:36: error: 'acpi_platform_serial_table' defined but not used [-Werror=unused-const-variable=]
271 | static const struct acpi_device_id acpi_platform_serial_table[] = {
Fixes: d9e5a0ce2f16 ("serial: 8250_platform: Enable generic 16550A platform devices")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Sunil V L <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions