mtd: nand: mxc: reorder functions to avoid forward declarations
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 17 Jan 2018 11:32:06 +0000 (12:32 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 12 Feb 2018 22:35:04 +0000 (23:35 +0100)
commit1549333167edcbab5e8170ae45fbee99eeb4ddb1
treed5b449d3cd0d4869c30689fd5f804f3434f17db9
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
mtd: nand: mxc: reorder functions to avoid forward declarations

We'll call copy_spare() and mxc_do_addr_cycle() from another place
during the next patches, so move functions up to avoid forward
declarations.

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