X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Finitcall.h;h=fe7e90388e1d9e64ec28d5c0ca7c6ab777e53fce;hb=5bc0543df3079add8152afa041b887d081d71839;hp=9e54fa5c262e0581751f5aef7df029f2ff65cae8;hpb=345be0b26734c560e8b33531ab21a1272179c5c3;p=u-boot diff --git a/include/initcall.h b/include/initcall.h index 9e54fa5c26..fe7e90388e 100644 --- a/include/initcall.h +++ b/include/initcall.h @@ -1,25 +1,14 @@ /* * Copyright (c) 2011 The Chromium OS Authors. * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ +#ifndef __INITCALL_H +#define __INITCALL_H + typedef int (*init_fnc_t)(void); -int initcall_run_list(init_fnc_t init_sequence[]); +int initcall_run_list(const init_fnc_t init_sequence[]); + +#endif