summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2022-09-11 17:36:54 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-22 16:10:44 +0200
commited9f4bb39624af6461774812888847a7d3f7f8b1 (patch)
treedd89caefdcb029108364788ec7d99aba73563742 /drivers/tty/serial
parentc22d054f1ed6b3e990436c2dde7d3b7d6a170cff (diff)
downloadlinux-ed9f4bb39624af6461774812888847a7d3f7f8b1.tar.bz2
tty: serial: cpm_uart: remove unused cpm_uart_nr declaration
cpm_uart_nr has been removed since commit 0b2a2e5b7747 ("cpm_uart: Remove !CONFIG_PPC_CPM_NEW_BINDING code"), so remove it. Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Link: https://lore.kernel.org/r/20220911093654.3222701-1-cuigaosheng1@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/cpm_uart/cpm_uart.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart.h b/drivers/tty/serial/cpm_uart/cpm_uart.h
index 8c582779cf22..0577618e78c0 100644
--- a/drivers/tty/serial/cpm_uart/cpm_uart.h
+++ b/drivers/tty/serial/cpm_uart/cpm_uart.h
@@ -87,7 +87,6 @@ struct uart_cpm_port {
struct gpio_desc *gpios[NUM_GPIOS];
};
-extern int cpm_uart_nr;
extern struct uart_cpm_port cpm_uart_ports[UART_NR];
/* these are located in their respective files */