mtd: nand: Move nand_device forward declaration to the top
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 29 May 2020 00:25:06 +0000 (02:25 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 26 Jun 2020 06:35:03 +0000 (08:35 +0200)
commit33d226f504ed72cba3a2b42bbe2a993b3d6d9548
tree32d80035b53a3c4371cff91d594aea74869aeedf
parentba9f316986502471b160470e5e27a5e5a2ccadaf
mtd: nand: Move nand_device forward declaration to the top

This structure might be used earlier in this file, let's move the
forward declaration at the top.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200529002517.3546-10-miquel.raynal@bootlin.com
include/linux/mtd/nand.h