summaryrefslogtreecommitdiff
path: root/init/do_mounts.h
diff options
context:
space:
mode:
Diffstat (limited to 'init/do_mounts.h')
-rw-r--r--init/do_mounts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/do_mounts.h b/init/do_mounts.h
index c855b3f0e06d..021e2f60223e 100644
--- a/init/do_mounts.h
+++ b/init/do_mounts.h
@@ -13,7 +13,7 @@ void mount_block_root(char *name, int flags);
void mount_root(void);
extern int root_mountflags;
-static inline int create_dev(char *name, dev_t dev)
+static inline __init int create_dev(char *name, dev_t dev)
{
ksys_unlink(name);
return ksys_mknod(name, S_IFBLK|0600, new_encode_dev(dev));