]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: fsmc: move fsmc_nand_data definition
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 21 Mar 2017 10:03:56 +0000 (11:03 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 23 Mar 2017 10:10:28 +0000 (11:10 +0100)
commita77f0c6dbb90ecfbdf8a85630c6511f9f224e149
tree61ba50145d2351d7024560b2f87015b2d985c458
parentad1dcdc9fd3e149b21ab7da4034ed1ab172c70f8
mtd: nand: fsmc: move fsmc_nand_data definition

This commit simply moves the "struct fsmc_nand_data" definition to be
towards the beginning of the file, with the other defines and type
definitions, instead of in the middle of the driver code. This is much
more consistent with what most Linux drivers do.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/fsmc_nand.c