1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2 /* 3 * Copyright (C) 2024 Intel Corporation 4 */ 5 #ifndef __iwl_mld_led_h__ 6 #define __iwl_mld_led_h__ 7 8 #include "mld.h" 9 10 #ifdef CONFIG_IWLWIFI_LEDS 11 int iwl_mld_leds_init(struct iwl_mld *mld); 12 void iwl_mld_leds_exit(struct iwl_mld *mld); 13 void iwl_mld_led_config_fw(struct iwl_mld *mld); 14 #else iwl_mld_leds_init(struct iwl_mld * mld)15static inline int iwl_mld_leds_init(struct iwl_mld *mld) 16 { 17 return 0; 18 } 19 iwl_mld_leds_exit(struct iwl_mld * mld)20static inline void iwl_mld_leds_exit(struct iwl_mld *mld) 21 { 22 } 23 iwl_mld_led_config_fw(struct iwl_mld * mld)24static inline void iwl_mld_led_config_fw(struct iwl_mld *mld) 25 { 26 } 27 #endif 28 29 #endif /* __iwl_mld_led_h__ */ 30