1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * include/linux/hyperhold_inf.h 4 * 5 * Copyright (c) 2020-2022 Huawei Technologies Co., Ltd. 6 */ 7 8 #ifndef HYPERHOLD_INF_H 9 #define HYPERHOLD_INF_H 10 11 #ifdef CONFIG_HYPERHOLD 12 13 extern bool is_hyperhold_enable(void); 14 15 #else 16 is_hyperhold_enable(void)17static inline is_hyperhold_enable(void) 18 { 19 return false; 20 } 21 #endif 22 23 #endif 24