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