|
@@ -445,13 +445,19 @@ out_copy:
|
|
|
|
|
|
#else
|
|
|
|
|
|
-int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area,
|
|
|
- unsigned char *buffer, int offset,
|
|
|
- size_t count);
|
|
|
+static int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area,
|
|
|
+ unsigned char *buffer, int offset,
|
|
|
+ size_t count)
|
|
|
+{
|
|
|
+ return -ENOSYS;
|
|
|
+}
|
|
|
|
|
|
-int omap3_onenand_write_bufferram(struct mtd_info *mtd, int area,
|
|
|
- const unsigned char *buffer,
|
|
|
- int offset, size_t count);
|
|
|
+static int omap3_onenand_write_bufferram(struct mtd_info *mtd, int area,
|
|
|
+ const unsigned char *buffer,
|
|
|
+ int offset, size_t count)
|
|
|
+{
|
|
|
+ return -ENOSYS;
|
|
|
+}
|
|
|
|
|
|
#endif
|
|
|
|
|
@@ -549,13 +555,19 @@ static int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area,
|
|
|
|
|
|
#else
|
|
|
|
|
|
-int omap2_onenand_read_bufferram(struct mtd_info *mtd, int area,
|
|
|
- unsigned char *buffer, int offset,
|
|
|
- size_t count);
|
|
|
+static int omap2_onenand_read_bufferram(struct mtd_info *mtd, int area,
|
|
|
+ unsigned char *buffer, int offset,
|
|
|
+ size_t count)
|
|
|
+{
|
|
|
+ return -ENOSYS;
|
|
|
+}
|
|
|
|
|
|
-int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area,
|
|
|
- const unsigned char *buffer,
|
|
|
- int offset, size_t count);
|
|
|
+static int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area,
|
|
|
+ const unsigned char *buffer,
|
|
|
+ int offset, size_t count)
|
|
|
+{
|
|
|
+ return -ENOSYS;
|
|
|
+}
|
|
|
|
|
|
#endif
|
|
|
|