include: nand: move endif to end of file
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 23 Jan 2017 22:04:34 +0000 (16:04 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 16 Jun 2017 14:11:34 +0000 (10:11 -0400)
The terminator endif of ifdef _NAND_H_ should be at the
end of file as a fail safe.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
include/nand.h

index a86552878e92064e61195495e9d9c96afd687aeb..bc5dd8190170fa0929e4414a9499389b4055ec0a 100644 (file)
@@ -132,8 +132,6 @@ void board_nand_select_device(struct nand_chip *nand, int chip);
 
 __attribute__((noreturn)) void nand_boot(void);
 
-#endif
-
 #ifdef CONFIG_ENV_OFFSET_OOB
 #define ENV_OOB_MARKER 0x30425645 /*"EVB0" in little-endian -- offset is stored
                                    as block number*/
@@ -146,3 +144,5 @@ int spl_nand_erase_one(int block, int page);
 
 /* platform specific init functions */
 void sunxi_nand_init(void);
+
+#endif /* _NAND_H_ */