aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/amba-pl011.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-05-19 09:57:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-19 18:23:09 +0200
commit9bb13b2f77819d868902753fc73f6a03200fad80 (patch)
tree85071203c45764bc33db6564c6efb916019f9e0a /drivers/tty/serial/amba-pl011.h
parenttty: n_gsm: Fix packet data hex dump output (diff)
downloadlinux-dev-9bb13b2f77819d868902753fc73f6a03200fad80.tar.xz
linux-dev-9bb13b2f77819d868902753fc73f6a03200fad80.zip
serial: amba-pl011: move header content to .c
There is no point keeping the header content separated. In this case, it is only an enum. So move the enum to the appropriate source file. Cc: Russell King <linux@armlinux.org.uk> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20220519075720.31402-1-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/tty/serial/amba-pl011.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/drivers/tty/serial/amba-pl011.h b/drivers/tty/serial/amba-pl011.h
deleted file mode 100644
index 077eb12a3472..000000000000
--- a/drivers/tty/serial/amba-pl011.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef AMBA_PL011_H
-#define AMBA_PL011_H
-
-enum {
- REG_DR,
- REG_ST_DMAWM,
- REG_ST_TIMEOUT,
- REG_FR,
- REG_LCRH_RX,
- REG_LCRH_TX,
- REG_IBRD,
- REG_FBRD,
- REG_CR,
- REG_IFLS,
- REG_IMSC,
- REG_RIS,
- REG_MIS,
- REG_ICR,
- REG_DMACR,
- REG_ST_XFCR,
- REG_ST_XON1,
- REG_ST_XON2,
- REG_ST_XOFF1,
- REG_ST_XOFF2,
- REG_ST_ITCR,
- REG_ST_ITIP,
- REG_ST_ABCR,
- REG_ST_ABIMSC,
-
- /* The size of the array - must be last */
- REG_ARRAY_SIZE,
-};
-
-#endif