mtd: rawnand: Move struct gpio_desc declaration to the top
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 26 May 2021 09:32:39 +0000 (11:32 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 26 May 2021 14:26:30 +0000 (16:26 +0200)
commit10e96f8b4e7521197a50b370ce0923ab6a8d0ca0
tree9cfc821169a67c657e1f194e425555e761d91140
parent6b562738a22cfdbfedaaac7db5f83c11700ebb15
mtd: rawnand: Move struct gpio_desc declaration to the top

The struct gpio_desc is declared in the middle of the rawnand.h header,
right before the first function using it (nand_gpio_waitrdy). Before
adding a new function and to make it clear: move the declaration to the
top of the file.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210526093242.183847-2-miquel.raynal@bootlin.com
include/linux/mtd/rawnand.h