summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-06-10 23:41:27 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-07-21 16:41:46 +0200
commitec318139f6247ffd477e240ccfb6a066fd7a7192 (patch)
tree05fefd8dc63bb3a63bb0518b6536acdf05af7fbd
parentdb0d705898f5bcca10a916dbed1b3f2e5e6212a1 (diff)
downloadbarebox-ec318139f6247ffd477e240ccfb6a066fd7a7192.tar.gz
barebox-ec318139f6247ffd477e240ccfb6a066fd7a7192.tar.xz
make sure ramfs/devfs are initialised when needed
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--fs/devfs.c2
-rw-r--r--fs/ramfs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/devfs.c b/fs/devfs.c
index 9b9fb93c5f..b8b9fa25b1 100644
--- a/fs/devfs.c
+++ b/fs/devfs.c
@@ -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)
{
diff --git a/fs/ramfs.c b/fs/ramfs.c
index 9aad4f6b0a..9ecb824d0b 100644
--- a/fs/ramfs.c
+++ b/fs/ramfs.c
@@ -572,5 +572,5 @@ static int ramfs_init(void)
return register_fs_driver(&ramfs_driver);
}
-device_initcall(ramfs_init);
+coredevice_initcall(ramfs_init);