From 05ccdb3d0e01d6609f787278bbefaaa273f5cc16 Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Sun, 12 Jul 2026 00:00:47 -0400 Subject: [PATCH] ramfs: manually init, do not use initcall Signed-off-by: Michael Shaw --- fs/vfs/ramfs.c | 1 - include/fs/ramfs.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/vfs/ramfs.c b/fs/vfs/ramfs.c index cd62dfa..61433ad 100644 --- a/fs/vfs/ramfs.c +++ b/fs/vfs/ramfs.c @@ -243,4 +243,3 @@ void ramfs_init(void) vfs_register(&ramfs_type); } -DRIVER_ENTRY(ramfs_init); diff --git a/include/fs/ramfs.h b/include/fs/ramfs.h index ba28b58..5fea5ff 100644 --- a/include/fs/ramfs.h +++ b/include/fs/ramfs.h @@ -9,4 +9,6 @@ int ramfs_create(u64 flags, fs_t **out); int ramfs_umount(fs_t *fs); +void ramfs_init(void); + #endif /* _RAMFS_H_ */