init: mark create_dev as __init
[linux-2.6-block.git] / init / do_mounts.h
index c855b3f0e06d19798952fced28afcbd4ac753818..021e2f60223e25c832b55cf963596c8e083e7b55 100644 (file)
@@ -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));