All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesper Nilsson <jesper.nilsson@axis.com>
To: Andrew Morton <akpm@linux-foundation.org>,
	Mikael Starvik <mikael.starvik@axis.com>,
	Jesper Nilsson <jesper.nilsson@axis.com>,
	linux-kernel@vger.kernel.org, dwmw2@infradead.org
Subject: [PATCH 11/16] CRIS architecture: Correct compile errors
Date: Tue, 30 Oct 2007 10:33:53 +0100	[thread overview]
Message-ID: <20071030093353.GN11960@axis.com> (raw)

Add include file with prototype for mtdram_init_device from
drivers/mtd/devices/mtdram.c.
Used by axisflashmap.c to boot from ram.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>

---
 mtdram.h |   10 ++++++++++
 1 file changed, 10 insertions(+)

--- /dev/null	2007-10-06 06:38:38.348072750 +0200
+++ linux-2.6.23/include/linux/mtd/mtdram.h	2002-11-13 15:57:45.000000000 +0100
@@ -0,0 +1,10 @@
+#ifndef __MTD_MTDRAM_H__
+#define __MTD_MTDRAM_H__
+
+#ifdef __KERNEL__
+#include <linux/mtd/mtd.h>
+int mtdram_init_device(struct mtd_info *mtd, void *mapped_address, 
+                       unsigned long size, char *name);
+
+#endif /* __KERNEL__ */
+#endif /* __MTD_MTDRAM_H__ */

/^JN - Jesper Nilsson
--
               Jesper Nilsson -- jesper.nilsson@axis.com

             reply	other threads:[~2007-10-30  9:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-30  9:33 Jesper Nilsson [this message]
2007-10-30 12:49 ` [PATCH 11/16] CRIS architecture: Correct compile errors David Woodhouse
2007-10-30 13:17   ` Jesper Nilsson
2007-11-06  8:40 ` David Woodhouse
2007-11-06  9:12   ` Jesper Nilsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071030093353.GN11960@axis.com \
    --to=jesper.nilsson@axis.com \
    --cc=akpm@linux-foundation.org \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikael.starvik@axis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.