Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Simon Glass | 82a5fa0 | 2013-03-05 14:39:40 +0000 | [diff] [blame] | 2 | /* |
3 | * Copyright (c) 2011 The Chromium OS Authors. | ||||
Simon Glass | 82a5fa0 | 2013-03-05 14:39:40 +0000 | [diff] [blame] | 4 | */ |
5 | |||||
Simon Glass | 5b66888 | 2017-03-28 10:27:17 -0600 | [diff] [blame] | 6 | #ifndef __INITCALL_H |
7 | #define __INITCALL_H | ||||
8 | |||||
Simon Glass | 82a5fa0 | 2013-03-05 14:39:40 +0000 | [diff] [blame] | 9 | typedef int (*init_fnc_t)(void); |
10 | |||||
Simon Glass | 8f77045 | 2014-05-20 06:01:43 -0600 | [diff] [blame] | 11 | int initcall_run_list(const init_fnc_t init_sequence[]); |
Simon Glass | 5b66888 | 2017-03-28 10:27:17 -0600 | [diff] [blame] | 12 | |
13 | #endif |