]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] Provide mtdram.h with mtdram_init_device() prototype
authorJesper Nilsson <jesper.nilsson@axis.com>
Tue, 6 Nov 2007 08:40:24 +0000 (08:40 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 6 Nov 2007 08:40:24 +0000 (08:40 +0000)
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>
include/linux/mtd/mtdram.h [new file with mode: 0644]

diff --git a/include/linux/mtd/mtdram.h b/include/linux/mtd/mtdram.h
new file mode 100644 (file)
index 0000000..04fdc07
--- /dev/null
@@ -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__ */