brintos

brintos / linux-shallow public Read only

0
0
Text · 743 B · 56325b0 Raw
35 lines · 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_LEDS15void ath10k_leds_unregister(struct ath10k *ar);16int ath10k_leds_start(struct ath10k *ar);17int ath10k_leds_register(struct ath10k *ar);18#else19static 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#endif34#endif /* _LEDS_H_ */35