]> git.sur5r.net Git - u-boot/blobdiff - include/initcall.h
spi: cadence_qspi: Fix warning cast from pointer to integer of different size
[u-boot] / include / initcall.h
index 2378077361dae9a1bf0e238882438ec25ce288ee..01f3f2833f10291429049ec346b407d405b97954 100644 (file)
@@ -1,9 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (c) 2011 The Chromium OS Authors.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
+#ifndef __INITCALL_H
+#define __INITCALL_H
+
 typedef int (*init_fnc_t)(void);
 
-int initcall_run_list(init_fnc_t init_sequence[]);
+int initcall_run_list(const init_fnc_t init_sequence[]);
+
+#endif