Debian Codegraph @

drivers/net/wireless/intel/iwlwifi/mld/led.h

raw
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
15 static inline int iwl_mld_leds_init(struct iwl_mld *mld)
16 {
17 return 0;
18 }
19
20 static inline void iwl_mld_leds_exit(struct iwl_mld *mld)
21 {
22 }
23
24 static inline void iwl_mld_led_config_fw(struct iwl_mld *mld)
25 {
26 }
27 #endif
28
29 #endif /* __iwl_mld_led_h__ */