From: Jesper Nilsson Date: Tue, 6 Nov 2007 08:40:24 +0000 (+0000) Subject: [MTD] Provide mtdram.h with mtdram_init_device() prototype X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a66f66c44d53a4bab4b6b2903fd271f13ce4101b;p=linux-beck.git [MTD] Provide mtdram.h with mtdram_init_device() prototype This is used by axisflashmap.c to boot from ram. Signed-off-by: Jesper Nilsson Acked-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- 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 +int mtdram_init_device(struct mtd_info *mtd, void *mapped_address, + unsigned long size, char *name); + +#endif /* __MTD_MTDRAM_H__ */