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

Simon Glass sjg at chromium.org
Tue Mar 28 16:27:17 UTC 2017


This file is missing the usual header guard. Add it.

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

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

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
-- 
2.12.2.564.g063fe858b8-goog



More information about the U-Boot mailing list