summaryrefslogtreecommitdiffstats
path: root/device/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'device/uart.c')
-rw-r--r--device/uart.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/device/uart.c b/device/uart.c
index 6728ab1..5c65207 100644
--- a/device/uart.c
+++ b/device/uart.c
@@ -1,10 +1,11 @@
#include "device/uart.h"
#include "device/portio_uart.h"
+#include "object.h"
void
-uart_write(objdir_t *dir, uint64_t entryi, const char *s, size_t w)
+uart_write(objdir_t *dir, path_byte_t *path, const char *s, size_t w)
{
- objdir_entry_t *entry = objdir_seek(dir, entryi);
+ objdir_entry_t *entry = objdir_seek(dir, path, 1);
if(entry == NULL || entry->type != KO_DEV_UART) return;
#ifdef ENABLE_PORTIO_UART