File Index
Files and directories
Sign in
FILE

led.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/wireless/intel/iwlwifi/mld/led.h C
 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
11int iwl_mld_leds_init(struct iwl_mld *mld);
12void iwl_mld_leds_exit(struct iwl_mld *mld);
13void iwl_mld_led_config_fw(struct iwl_mld *mld);
14#else
15static inline int iwl_mld_leds_init(struct iwl_mld *mld)
16{
17	return 0;
18}
19
20static inline void iwl_mld_leds_exit(struct iwl_mld *mld)
21{
22}
23
24static inline void iwl_mld_led_config_fw(struct iwl_mld *mld)
25{
26}
27#endif
28
29#endif /* __iwl_mld_led_h__ */
~/ Read-only file preview.