X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=include%2Finitcall.h;h=fe7e90388e1d9e64ec28d5c0ca7c6ab777e53fce;hb=3dccc10ee1e52d46f495df16d6800e80859ddca1;hp=9e54fa5c262e0581751f5aef7df029f2ff65cae8;hpb=be08abc2429c2e9cbce3d0abc1d315171d683520;p=people%2Fms%2Fu-boot.git 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