aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand/omap2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/onenand/omap2.c')
-rw-r--r--drivers/mtd/onenand/omap2.c36
1 files changed, 24 insertions, 12 deletions
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c
index 53069aef1f48..99f96e19ebea 100644
--- a/drivers/mtd/onenand/omap2.c
+++ b/drivers/mtd/onenand/omap2.c
@@ -445,13 +445,19 @@ out_copy:
445 445
446#else 446#else
447 447
448int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area, 448static int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area,
449 unsigned char *buffer, int offset, 449 unsigned char *buffer, int offset,
450 size_t count); 450 size_t count)
451{
452 return -ENOSYS;
453}
451 454
452int omap3_onenand_write_bufferram(struct mtd_info *mtd, int area, 455static int omap3_onenand_write_bufferram(struct mtd_info *mtd, int area,
453 const unsigned char *buffer, 456 const unsigned char *buffer,
454 int offset, size_t count); 457 int offset, size_t count)
458{
459 return -ENOSYS;
460}
455 461
456#endif 462#endif
457 463
@@ -549,13 +555,19 @@ static int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area,
549 555
550#else 556#else
551 557
552int omap2_onenand_read_bufferram(struct mtd_info *mtd, int area, 558static int omap2_onenand_read_bufferram(struct mtd_info *mtd, int area,
553 unsigned char *buffer, int offset, 559 unsigned char *buffer, int offset,
554 size_t count); 560 size_t count)
561{
562 return -ENOSYS;
563}
555 564
556int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area, 565static int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area,
557 const unsigned char *buffer, 566 const unsigned char *buffer,
558 int offset, size_t count); 567 int offset, size_t count)
568{
569 return -ENOSYS;
570}
559 571
560#endif 572#endif
561 573