projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb96724
)
board_f: initcall: Add a header guard
author
Simon Glass
<sjg@chromium.org>
Tue, 28 Mar 2017 16:27:17 +0000
(10:27 -0600)
committer
Tom Rini
<trini@konsulko.com>
Wed, 5 Apr 2017 17:52:35 +0000
(13:52 -0400)
This file is missing the usual header guard. Add it.
Signed-off-by: Simon Glass <sjg@chromium.org>
include/initcall.h
patch
|
blob
|
history
diff --git
a/include/initcall.h
b/include/initcall.h
index 65f67dca8321679ac50a09fb5e29f919a36a2f6b..fe7e90388e1d9e64ec28d5c0ca7c6ab777e53fce 100644
(file)
--- 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