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