vbos/include/kernel/char.h
Michael Shaw 52ba70f4b7 dev: remove console driver, merge into serial
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2024-06-17 20:32:44 -04:00

15 lines
301 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _CHAR_H_
#define _CHAR_H_
#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_ */