2 * Copyright (c) 2013 The Chromium OS Authors.
4 * SPDX-License-Identifier: GPL-2.0+
10 int initcall_run_list(init_fnc_t init_sequence[])
12 init_fnc_t *init_fnc_ptr;
14 for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr) {
15 debug("initcall: %p\n", *init_fnc_ptr);
16 if ((*init_fnc_ptr)()) {
17 debug("initcall sequence %p failed at call %p\n",
18 init_sequence, *init_fnc_ptr);