File Index
Files and directories
Sign in
FILE

leds.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/wireless/ath/ath10k/leds.h C
 1/* SPDX-License-Identifier: ISC */
 2/*
 3 * Copyright (c) 2005-2011 Atheros Communications Inc.
 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
 5 * Copyright (c) 2018 Sebastian Gottschall <s.gottschall@dd-wrt.com>
 6 * Copyright (c) 2018 The Linux Foundation. All rights reserved.
 7 */
 8
 9#ifndef _LEDS_H_
10#define _LEDS_H_
11
12#include "core.h"
13
14#ifdef CONFIG_ATH10K_LEDS
15void ath10k_leds_unregister(struct ath10k *ar);
16int ath10k_leds_start(struct ath10k *ar);
17int ath10k_leds_register(struct ath10k *ar);
18#else
19static inline void ath10k_leds_unregister(struct ath10k *ar)
20{
21}
22
23static inline int ath10k_leds_start(struct ath10k *ar)
24{
25	return 0;
26}
27
28static inline int ath10k_leds_register(struct ath10k *ar)
29{
30	return 0;
31}
32
33#endif
34#endif /* _LEDS_H_ */
~/ Read-only file preview.