summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>2014-09-06 22:17:07 +0300
committerTom Rini <trini@ti.com>2014-09-16 12:23:59 -0400
commit7206111e529fe92074c5a4d4eeca402505009802 (patch)
tree93a5d4ffce432a6389d647307d4c8ce28d7486be /drivers/mtd
parentc970dffedb9f7bf76d67157c8ceba64496b0c64a (diff)
downloadu-boot-imx-7206111e529fe92074c5a4d4eeca402505009802.zip
u-boot-imx-7206111e529fe92074c5a4d4eeca402505009802.tar.gz
u-boot-imx-7206111e529fe92074c5a4d4eeca402505009802.tar.bz2
mtd: nand: davinci_nand: update write_page function for keystone RBL
After mtd was synced with Linux 3.14 (ff94bc40af3481d47546595ba73c136de6af6929) the number of parameters for write_page function of nand_chip was changed. The additional two var were needed for subpage write. As keystone has no supbage write they are not needed. So correct only function definition by upgrading it's parameter list. That helps to get ritd of compilation warning. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/davinci_nand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c
index 02a1130..41689b5 100644
--- a/drivers/mtd/nand/davinci_nand.c
+++ b/drivers/mtd/nand/davinci_nand.c
@@ -363,6 +363,7 @@ static struct nand_ecclayout nand_keystone_rbl_4bit_layout_oobfirst = {
* @raw: use _raw version of write_page
*/
static int nand_davinci_write_page(struct mtd_info *mtd, struct nand_chip *chip,
+ uint32_t offset, int data_len,
const uint8_t *buf, int oob_required,
int page, int cached, int raw)
{