serial: 8250_tegra: mark acpi_device_id as unused with !ACPI
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Tue, 8 Mar 2022 07:41:57 +0000 (08:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Mar 2022 12:18:25 +0000 (13:18 +0100)
commitdffa58b64cca6ca266bc0310d8e6b27abd1f8048
tree429770df653180d51b3c6e2a0b78515cde48b78a
parent0dc0da881b4574d1e04a079ab2ea75da61f5ad2e
serial: 8250_tegra: mark acpi_device_id as unused with !ACPI

The driver's acpi_device_id table is referenced via ACPI_PTR() so it
will be unused for !CONFIG_ACPI builds:

  drivers/tty/serial/8250/8250_tegra.c:178:36:
    warning: ‘tegra_uart_acpi_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20220308074157.113568-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_tegra.c