]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/filesystems.c
drm: i2c: add support for SN65DSI83
[karo-tx-linux.git] / fs / filesystems.c
index 92567d95ba6ab1adbf94c2ead01f94b60ae02a40..5797d45a78cb29fddcff617a8fc03139ed609369 100644 (file)
@@ -121,6 +121,7 @@ int unregister_filesystem(struct file_system_type * fs)
 
 EXPORT_SYMBOL(unregister_filesystem);
 
+#ifdef CONFIG_SYSFS_SYSCALL
 static int fs_index(const char __user * __name)
 {
        struct file_system_type * tmp;
@@ -199,6 +200,7 @@ SYSCALL_DEFINE3(sysfs, int, option, unsigned long, arg1, unsigned long, arg2)
        }
        return retval;
 }
+#endif
 
 int __init get_filesystem_list(char *buf)
 {