summaryrefslogtreecommitdiff
path: root/include/initcall.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-03-28 10:27:17 -0600
committerTom Rini <trini@konsulko.com>2017-04-05 13:52:35 -0400
commit2d986c0f54fba2b0e25898976d8ceb16a78ad8cb (patch)
tree2740f7a5af8ef91055d515a42d61ec29401b6eed /include/initcall.h
parentbb967240bbd0b8c1816710803bca3c976d071d12 (diff)
board_f: initcall: Add a header guard
This file is missing the usual header guard. Add it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/initcall.h')
-rw-r--r--include/initcall.h5
1 files changed, 5 insertions, 0 deletions
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