xref: /linux/drivers/net/wireless/intel/iwlwifi/mld/led.h (revision 1a9239bb4253f9076b5b4b2a1a4e8d7defd77a95)
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)15 static inline int iwl_mld_leds_init(struct iwl_mld *mld)
16 {
17 	return 0;
18 }
19 
iwl_mld_leds_exit(struct iwl_mld * mld)20 static inline void iwl_mld_leds_exit(struct iwl_mld *mld)
21 {
22 }
23 
iwl_mld_led_config_fw(struct iwl_mld * mld)24 static inline void iwl_mld_led_config_fw(struct iwl_mld *mld)
25 {
26 }
27 #endif
28 
29 #endif /* __iwl_mld_led_h__ */
30