summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJesper Nilsson2007-11-06 09:40:24 +0100
committerDavid Woodhouse2007-11-06 09:40:24 +0100
commita66f66c44d53a4bab4b6b2903fd271f13ce4101b (patch)
treee97c31431bfd51c659f39072ca87760adea57765 /include/linux
parent[JFFS2] make jffs2_get_acl() static (diff)
downloadkernel-qcow2-linux-a66f66c44d53a4bab4b6b2903fd271f13ce4101b.tar.gz
kernel-qcow2-linux-a66f66c44d53a4bab4b6b2903fd271f13ce4101b.tar.xz
kernel-qcow2-linux-a66f66c44d53a4bab4b6b2903fd271f13ce4101b.zip
[MTD] Provide mtdram.h with mtdram_init_device() prototype
This is used by axisflashmap.c to boot from ram. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com> Acked-by: Mikael Starvik <starvik@axis.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/mtdram.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/mtd/mtdram.h b/include/linux/mtd/mtdram.h
new file mode 100644
index 000000000000..04fdc07b7353
--- /dev/null
+++ b/include/linux/mtd/mtdram.h
@@ -0,0 +1,8 @@
+#ifndef __MTD_MTDRAM_H__
+#define __MTD_MTDRAM_H__
+
+#include <linux/mtd/mtd.h>
+int mtdram_init_device(struct mtd_info *mtd, void *mapped_address,
+ unsigned long size, char *name);
+
+#endif /* __MTD_MTDRAM_H__ */