| /* |
| * Copyright (C) 2017 MediaTek Inc. |
| * |
| * This program is free software: you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| * |
| * 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. |
| */ |
| |
| #include <stdbool.h> |
| #include <stddef.h> |
| |
| struct clkchk_cfg_t { |
| bool aee_excp_on_fail; |
| bool warn_on_fail; |
| const char * const *compatible; |
| const char * const *off_pll_names; |
| const char * const *all_clk_names; |
| }; |
| |
| int clkchk_init(struct clkchk_cfg_t *cfg); |