[MTD] Provide mtdram.h with mtdram_init_device() prototype

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Nov 6 03:59:01 EST 2007


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=a66f66c44d53a4bab4b6b2903fd271f13ce4101b
Commit:     a66f66c44d53a4bab4b6b2903fd271f13ce4101b
Parent:     050416e93354158b025360387746fb7257d7ce07
Author:     Jesper Nilsson <jesper.nilsson at axis.com>
AuthorDate: Tue Nov 6 08:40:24 2007 +0000
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue Nov 6 08:40:24 2007 +0000

    [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 at axis.com>
    Acked-by: Mikael Starvik <starvik at axis.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 include/linux/mtd/mtdram.h |    8 ++++++++
 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 0000000..04fdc07
--- /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__ */



More information about the linux-mtd-cvs mailing list