]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: amba-pl011: Mark 'sbsa_uart_acpi_match' as __maybe_unused
authorLee Jones <lee.jones@linaro.org>
Wed, 4 Nov 2020 19:35:30 +0000 (19:35 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2020 09:54:04 +0000 (10:54 +0100)
commit6fb3451fe2e6ebd534254dee13b8ce4fb1cd08a7
tree74050ff58eb19b393cd621f703418603067dfbc0
parentddbc6f2c76abb8a098dbc99569e196bf1aff8808
tty: serial: amba-pl011: Mark 'sbsa_uart_acpi_match' as __maybe_unused

When !ACPI 'sbsa_uart_acpi_match' is not referenced.

Fixes the following W=1 kernel build warning(s):

 drivers/tty/serial/amba-pl011.c:2792:36: warning: ‘sbsa_uart_acpi_match’ defined but not used [-Wunused-const-variable=]

Cc: Russell King <linux@armlinux.org.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Cc: linux-serial@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201104193549.4026187-18-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c