]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
fs/9p/v9fs.c: add __init to v9fs_sysfs_init
authorFabian Frederick <fabf@skynet.be>
Sat, 17 May 2014 13:17:31 +0000 (23:17 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 17 May 2014 13:17:31 +0000 (23:17 +1000)
v9fs_sysfs_init is only called by __init init_v9fs

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/9p/v9fs.c

index 14da82564f4eef3e271c2cf891582dac45190ece..6894b085f0ee0fed7a58fd7f6c0b3d110154e18d 100644 (file)
@@ -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)