summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mld/led.h
blob: 0954e214e73d6c0a52cd6d6b9855773f87b5860e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
/*
 * Copyright (C) 2024 Intel Corporation
 */
#ifndef __iwl_mld_led_h__
#define __iwl_mld_led_h__

#include "mld.h"

#ifdef CONFIG_IWLWIFI_LEDS
int iwl_mld_leds_init(struct iwl_mld *mld);
void iwl_mld_leds_exit(struct iwl_mld *mld);
void iwl_mld_led_config_fw(struct iwl_mld *mld);
#else
static inline int iwl_mld_leds_init(struct iwl_mld *mld)
{
	return 0;
}

static inline void iwl_mld_leds_exit(struct iwl_mld *mld)
{
}

static inline void iwl_mld_led_config_fw(struct iwl_mld *mld)
{
}
#endif

#endif /* __iwl_mld_led_h__ */