dev: remove console driver, merge into serial
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
parent
cfe2ee22fb
commit
52ba70f4b7
13 changed files with 163 additions and 547 deletions
|
|
@ -4,4 +4,12 @@
|
|||
|
||||
#include <kernel/common.h>
|
||||
|
||||
struct char_device {
|
||||
char *name;
|
||||
void *data;
|
||||
};
|
||||
|
||||
struct char_device *char_device_create(const char *name, void *data);
|
||||
void char_device_destroy(struct char_device *cd);
|
||||
|
||||
#endif /* _CHAR_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue