From: Fabian Frederick Date: Wed, 4 Jun 2014 23:06:25 +0000 (-0700) Subject: fs/9p/v9fs.c: add __init to v9fs_sysfs_init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bdbeacdea24bad95bb72b6712fd9f716206c3142;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git fs/9p/v9fs.c: add __init to v9fs_sysfs_init v9fs_sysfs_init is only called by __init init_v9fs Signed-off-by: Fabian Frederick Cc: Eric Van Hensbergen Cc: Ron Minnich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c index 14da82564f4e..6894b085f0ee 100644 --- a/fs/9p/v9fs.c +++ b/fs/9p/v9fs.c @@ -537,7 +537,7 @@ static struct attribute_group v9fs_attr_group = { * */ -static int v9fs_sysfs_init(void) +static int __init v9fs_sysfs_init(void) { v9fs_kobj = kobject_create_and_add("9p", fs_kobj); if (!v9fs_kobj)