aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/uart/uart.h
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2024-01-08 15:02:29 +0000
committerAndrew Turner <andrew@FreeBSD.org>2024-02-13 11:48:52 +0000
commit949670f8f46656a30ffbd22c9ae2cc645bda8533 (patch)
treef8dee7e53db894f185988ec066ba779f82b8d725 /sys/dev/uart/uart.h
parent202890922e31382f9b11bf5f78d3dd0350d69dc1 (diff)
Diffstat (limited to 'sys/dev/uart/uart.h')
-rw-r--r--sys/dev/uart/uart.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/uart/uart.h b/sys/dev/uart/uart.h
index 5eae06ceba6f..987152283c81 100644
--- a/sys/dev/uart/uart.h
+++ b/sys/dev/uart/uart.h
@@ -29,6 +29,8 @@
#ifndef _DEV_UART_H_
#define _DEV_UART_H_
+#include <sys/linker_set.h>
+
/*
* Bus access structure. This structure holds the minimum information needed
* to access the UART. The rclk field, although not important to actually
@@ -99,6 +101,8 @@ uart_setreg(struct uart_bas *bas, int reg, int value)
*/
struct uart_class;
+SET_DECLARE(uart_class_set, struct uart_class);
+
extern struct uart_class uart_ns8250_class __attribute__((weak));
extern struct uart_class uart_quicc_class __attribute__((weak));
extern struct uart_class uart_z8530_class __attribute__((weak));