summaryrefslogtreecommitdiffstats
path: root/bsps/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-06-15 13:24:28 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-07-14 12:21:33 +0200
commit8fdecf6c5589493d3559a79cdd9b752c9065f140 (patch)
tree3d9735c3f9a7e0498ddbdf99d70f7c491c69b269 /bsps/include
parentbsps/grlib: Use GRLIB definition of GRSPWROUTER (diff)
downloadrtems-8fdecf6c5589493d3559a79cdd9b752c9065f140.tar.bz2
bsps: Use new APBUART register block API
Diffstat (limited to 'bsps/include')
-rw-r--r--bsps/include/grlib/apbuart_termios.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/include/grlib/apbuart_termios.h b/bsps/include/grlib/apbuart_termios.h
index 82eb4b6de4..a19b99b609 100644
--- a/bsps/include/grlib/apbuart_termios.h
+++ b/bsps/include/grlib/apbuart_termios.h
@@ -34,7 +34,7 @@
#define APBUART_TERMIOS_H
#include <rtems/termiostypes.h>
-#include "grlib.h"
+#include "apbuart.h"
#ifdef __cplusplus
extern "C" {
@@ -42,7 +42,7 @@ extern "C" {
struct apbuart_context {
rtems_termios_device_context base;
- struct apbuart_regs *regs;
+ apbuart *regs;
unsigned int freq_hz;
rtems_vector_number irq;
volatile int sending;