summaryrefslogtreecommitdiffstats
path: root/include/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/console.h')
-rw-r--r--include/console.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h
index e6f06bdff3..e632946549 100644
--- a/include/console.h
+++ b/include/console.h
@@ -26,6 +26,7 @@
#include <param.h>
#include <list.h>
+#include <driver.h>
#define CONSOLE_STDIN (1 << 0)
#define CONSOLE_STDOUT (1 << 1)
@@ -33,6 +34,7 @@
struct console_device {
struct device_d *dev;
+ struct device_d class_dev;
int (*tstc)(struct console_device *cdev);
void (*putc)(struct console_device *cdev, char c);