summaryrefslogtreecommitdiffstats
path: root/src/include/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/console.h')
-rw-r--r--src/include/console.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/console.h b/src/include/console.h
index 9addd5265..fd36cd5b8 100644
--- a/src/include/console.h
+++ b/src/include/console.h
@@ -85,6 +85,9 @@ struct console_driver {
int ( *iskey ) ( void );
};
+/** Console driver table */
+#define CONSOLES "consoles"
+
/**
* Mark a <tt> struct console_driver </tt> as being part of the
* console drivers table.
@@ -102,7 +105,7 @@ struct console_driver {
* @endcode
*
*/
-#define __console_driver __table ( struct console_driver, console, 01 )
+#define __console_driver __table ( struct console_driver, CONSOLES, 01 )
/* Function prototypes */