make sure ramfs/devfs are initialised when needed
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
db0d705898
commit
ec318139f6
|
@ -276,7 +276,7 @@ static int devfs_init(void)
|
|||
return register_fs_driver(&devfs_driver);
|
||||
}
|
||||
|
||||
device_initcall(devfs_init);
|
||||
coredevice_initcall(devfs_init);
|
||||
|
||||
int devfs_create(struct cdev *new)
|
||||
{
|
||||
|
|
|
@ -572,5 +572,5 @@ static int ramfs_init(void)
|
|||
return register_fs_driver(&ramfs_driver);
|
||||
}
|
||||
|
||||
device_initcall(ramfs_init);
|
||||
coredevice_initcall(ramfs_init);
|
||||
|
||||
|
|
Loading…
Reference in New Issue