Skip to content

Commit

Permalink
[MTD] Provide mtdram.h with mtdram_init_device() prototype
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jesper Nilsson authored and David Woodhouse committed Nov 6, 2007
1 parent 050416e commit a66f66c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/linux/mtd/mtdram.h
Original file line number Diff line number Diff line change
@@ -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__ */

0 comments on commit a66f66c

Please sign in to comment.