summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-03-16 21:55:21 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-21 18:37:30 +0200
commitda5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1 (patch)
tree172df2771cbfbb8501aaf6e04c34b4fc1b3c7cca /include
parentdriver core: module.c: Use kasprintf (diff)
downloadlinux-da5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1.tar.xz
linux-da5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1.zip
devtmpfs: support !CONFIG_TMPFS
Make devtmpfs available on (embedded) configurations without SHMEM/TMPFS, using ramfs instead. Saves ~15KB. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Acked-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ramfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ramfs.h b/include/linux/ramfs.h
index 4e768dda87b0..8600508c77a6 100644
--- a/include/linux/ramfs.h
+++ b/include/linux/ramfs.h
@@ -20,4 +20,6 @@ extern const struct file_operations ramfs_file_operations;
extern const struct vm_operations_struct generic_file_vm_ops;
extern int __init init_rootfs(void);
+int ramfs_fill_super(struct super_block *sb, void *data, int silent);
+
#endif