summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/8250/8250_pcilib.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/8250/8250_pcilib.h')
-rw-r--r--drivers/tty/serial/8250/8250_pcilib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_pcilib.h b/drivers/tty/serial/8250/8250_pcilib.h
new file mode 100644
index 000000000000..1aaf1b50ce9c
--- /dev/null
+++ b/drivers/tty/serial/8250/8250_pcilib.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * 8250 PCI library header file.
+ *
+ * Copyright (C) 2001 Russell King, All Rights Reserved.
+ */
+
+#include <linux/types.h>
+
+struct pci_dev;
+
+struct uart_8250_port;
+
+int serial8250_pci_setup_port(struct pci_dev *dev, struct uart_8250_port *port, u8 bar,
+ unsigned int offset, int regshift);