Skip to contentSkip to conversation

include: nand: move endif to end of file

PATCH RESEND New Grygorii Strashko 2 participants 2 messages Jan 23, 2017 – Jun 16, 2017

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 include: nand: move endif to end of file

From: Mugunthan V N <[email protected]>

The terminator endif of ifdef _NAND_H_ should be at the end of file as a fail safe.

---
Link on prev version
[1] https://patchwork.ozlabs.org/patch/604738/

I've kept "Reviewed-by" from [1], pls inform me in case of any issues.

 include/nand.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/nand.h +2 -2
index b6eb223..692c4db 100644
@@ -131,8 +131,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*/
@@ -145,3 +143,5 @@ int spl_nand_erase_one(int block, int page);
 
 /* platform specific init functions */
 void sunxi_nand_init(void);
+
+#endif /* _NAND_H_ */
Signature · 1 line
2.10.1.dirty
#1 lore raw

PATCH RESEND 1/1 include: nand: move endif to end of file

Quoted 9 lines · Grygorii Strashko

From: Mugunthan V N <[email protected]>

The terminator endif of ifdef _NAND_H_ should be at the end of file as a fail safe.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170616/3c178bcf/attachment.sig>