console.c uses the generic table mechanism

This commit is contained in:
Michael Brown
2005-04-27 11:38:43 +00:00
parent 69f09ebdd8
commit 3e5bf5fb06
3 changed files with 8 additions and 10 deletions

View File

@@ -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 */