All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [RESEND PATCH] include: nand: move endif to end of file
@ 2017-01-23 22:04 Grygorii Strashko
  2017-06-16 17:10 ` [U-Boot] [U-Boot, RESEND] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Grygorii Strashko @ 2017-01-23 22:04 UTC (permalink / raw)
  To: u-boot

From: Mugunthan V N <mugunthanvnm@ti.com>

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>
---
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(-)

diff --git a/include/nand.h b/include/nand.h
index b6eb223..692c4db 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -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_ */
-- 
2.10.1.dirty

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [U-Boot, RESEND] include: nand: move endif to end of file
  2017-01-23 22:04 [U-Boot] [RESEND PATCH] include: nand: move endif to end of file Grygorii Strashko
@ 2017-06-16 17:10 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2017-06-16 17:10 UTC (permalink / raw)
  To: u-boot

On Mon, Jan 23, 2017 at 04:04:34PM -0600, Grygorii Strashko wrote:

> From: Mugunthan V N <mugunthanvnm@ti.com>
> 
> 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>

Applied to u-boot/master, thanks!

-- 
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-16 17:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-23 22:04 [U-Boot] [RESEND PATCH] include: nand: move endif to end of file Grygorii Strashko
2017-06-16 17:10 ` [U-Boot] [U-Boot, RESEND] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.