diff mbox

[U-Boot,02/17] board_f: initcall: Add a header guard

Message ID 20170328162733.20905-2-sjg@chromium.org
State Accepted
Commit 2d986c0f54fba2b0e25898976d8ceb16a78ad8cb
Delegated to: Tom Rini
Headers show

Commit Message

Simon Glass March 28, 2017, 4:27 p.m. UTC
This file is missing the usual header guard. Add it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 include/initcall.h | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Tom Rini April 6, 2017, 4:23 p.m. UTC | #1
On Tue, Mar 28, 2017 at 10:27:17AM -0600, Simon Glass wrote:

> This file is missing the usual header guard. Add it.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/initcall.h b/include/initcall.h
index 65f67dca83..fe7e90388e 100644
--- a/include/initcall.h
+++ b/include/initcall.h
@@ -4,6 +4,11 @@ 
  * SPDX-License-Identifier:	GPL-2.0+
  */
 
+#ifndef __INITCALL_H
+#define __INITCALL_H
+
 typedef int (*init_fnc_t)(void);
 
 int initcall_run_list(const init_fnc_t init_sequence[]);
+
+#endif