summaryrefslogtreecommitdiffstats
path: root/target/linux/etrax-2.6/files/include
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2007-06-02 00:46:02 +0000
committerJohn Crispin <john@openwrt.org>2007-06-02 00:46:02 +0000
commite19eb3d8286ad66f455721f8b7f8260bce5e4016 (patch)
tree37c13b9c5ec72323b4ed9f1757aa7055b5013226 /target/linux/etrax-2.6/files/include
parenta1ddc8ab7d95ffb1f50b13c93a90e6e9fda9a591 (diff)
downloadmaster-31e0f0ae-e19eb3d8286ad66f455721f8b7f8260bce5e4016.tar.gz
master-31e0f0ae-e19eb3d8286ad66f455721f8b7f8260bce5e4016.tar.bz2
master-31e0f0ae-e19eb3d8286ad66f455721f8b7f8260bce5e4016.zip
add initial support for the crisarchitecture used on foxboards to openwrt
SVN-Revision: 7439
Diffstat (limited to 'target/linux/etrax-2.6/files/include')
-rw-r--r--target/linux/etrax-2.6/files/include/linux/mtd/mtdram.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/etrax-2.6/files/include/linux/mtd/mtdram.h b/target/linux/etrax-2.6/files/include/linux/mtd/mtdram.h
new file mode 100644
index 0000000000..400cb240c8
--- /dev/null
+++ b/target/linux/etrax-2.6/files/include/linux/mtd/mtdram.h
@@ -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__ */