ramfs: manually init, do not use initcall
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
402761ca80
commit
05ccdb3d0e
2 changed files with 2 additions and 1 deletions
|
|
@ -243,4 +243,3 @@ void ramfs_init(void)
|
||||||
|
|
||||||
vfs_register(&ramfs_type);
|
vfs_register(&ramfs_type);
|
||||||
}
|
}
|
||||||
DRIVER_ENTRY(ramfs_init);
|
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,6 @@
|
||||||
int ramfs_create(u64 flags, fs_t **out);
|
int ramfs_create(u64 flags, fs_t **out);
|
||||||
int ramfs_umount(fs_t *fs);
|
int ramfs_umount(fs_t *fs);
|
||||||
|
|
||||||
|
void ramfs_init(void);
|
||||||
|
|
||||||
#endif /* _RAMFS_H_ */
|
#endif /* _RAMFS_H_ */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue