Path: blob/main/sys/contrib/dev/athk/ath10k/leds.h
96425 views
/* SPDX-License-Identifier: ISC */1/*2* Copyright (c) 2005-2011 Atheros Communications Inc.3* Copyright (c) 2011-2017 Qualcomm Atheros, Inc.4* Copyright (c) 2018 Sebastian Gottschall <[email protected]>5* Copyright (c) 2018 The Linux Foundation. All rights reserved.6*/78#ifndef _LEDS_H_9#define _LEDS_H_1011#include "core.h"1213#ifdef CONFIG_ATH10K_LEDS14void ath10k_leds_unregister(struct ath10k *ar);15int ath10k_leds_start(struct ath10k *ar);16int ath10k_leds_register(struct ath10k *ar);17#else18static inline void ath10k_leds_unregister(struct ath10k *ar)19{20}2122static inline int ath10k_leds_start(struct ath10k *ar)23{24return 0;25}2627static inline int ath10k_leds_register(struct ath10k *ar)28{29return 0;30}3132#endif33#endif /* _LEDS_H_ */343536