xref: /OK3568_Linux_fs/u-boot/include/initcall.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Copyright (c) 2011 The Chromium OS Authors.
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * SPDX-License-Identifier:	GPL-2.0+
5*4882a593Smuzhiyun  */
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun #ifndef __INITCALL_H
8*4882a593Smuzhiyun #define __INITCALL_H
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun typedef int (*init_fnc_t)(void);
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun int initcall_run_list(const init_fnc_t init_sequence[]);
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun #endif
15