OSDN Git Service

mtd: nand: mxc: Add buffer argument to copy_spare
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 17 Jan 2018 11:32:08 +0000 (12:32 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 12 Feb 2018 22:35:28 +0000 (23:35 +0100)
commit1af0b3147448954c50e555496b80d94a0800a5e4
tree8ab8a0beac118d78f627309e5fada67328805eb0
parent040bd3f6a3aa51a7182bba4243428e9df8507146
mtd: nand: mxc: Add buffer argument to copy_spare

With following patches we will have to copy the spare data to/from
other buffers, so add the buffer as argument to copy_spare().

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/mxc_nand.c