aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2007-11-06 03:40:24 -0500
committerDavid Woodhouse <dwmw2@infradead.org>2007-11-06 03:40:24 -0500
commita66f66c44d53a4bab4b6b2903fd271f13ce4101b (patch)
treee97c31431bfd51c659f39072ca87760adea57765 /include
parent050416e93354158b025360387746fb7257d7ce07 (diff)
[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')
-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 @@
1#ifndef __MTD_MTDRAM_H__
2#define __MTD_MTDRAM_H__
3
4#include <linux/mtd/mtd.h>
5int mtdram_init_device(struct mtd_info *mtd, void *mapped_address,
6 unsigned long size, char *name);
7
8#endif /* __MTD_MTDRAM_H__ */