summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/driver/video.c
diff options
context:
space:
mode:
authordzwdz2023-08-06 01:16:14 +0200
committerdzwdz2023-08-06 01:16:14 +0200
commit0ddd4d1dab8dc2ba092c7351cfb2e054fce1f429 (patch)
treedfa378e88be27c189c739190dc3ec7beb8e26aba /src/kernel/arch/amd64/driver/video.c
parenta71120adf590f699c4b8d6249a340976575ea530 (diff)
kernel: put every driver in /kdev/
there's no real reason for bootstrap to be doing that, and this brings it closer to only doing the elf loading
Diffstat (limited to 'src/kernel/arch/amd64/driver/video.c')
-rw-r--r--src/kernel/arch/amd64/driver/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/amd64/driver/video.c b/src/kernel/arch/amd64/driver/video.c
index cb70931..5a7fc8f 100644
--- a/src/kernel/arch/amd64/driver/video.c
+++ b/src/kernel/arch/amd64/driver/video.c
@@ -65,5 +65,5 @@ void video_init(GfxInfo fb_) {
fb = fb_;
snprintf(namebuf, sizeof namebuf, "%ux%ux%u", fb.width, fb.height, fb.bpp);
namelen = strlen(namebuf);
- vfs_root_register("/video", accept);
+ vfs_root_register("/kdev/video", accept);
}