Skip to content
Snippets Groups Projects
Commit 09cbcec0 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

init: mark create_dev as __init


This helper is only used for the early init code.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent a94b5214
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment