From 3e5bf5fb0660704a2e3f0e4cf83fe411c88048e2 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 27 Apr 2005 11:38:43 +0000 Subject: console.c uses the generic table mechanism --- src/include/console.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/console.h b/src/include/console.h index 55ce73095..146fd9c3e 100644 --- a/src/include/console.h +++ b/src/include/console.h @@ -3,6 +3,7 @@ #include "stdint.h" #include "vsprintf.h" +#include "tables.h" /* * Consoles that cannot be used before their INIT_FN() has completed @@ -18,7 +19,7 @@ struct console_driver { }; #define __console_driver \ - __attribute__ (( used, __section__ ( ".drivers.console" ) )) + __attribute__ (( used, __table_section ( console, 01 ) )) /* Function prototypes */ -- cgit v1.2.3-55-g7522