Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * Copyright 2015, Heiner Kallweit <hkallweit1@gmail.com>
 
 
 
 
 4 */
 5
 6#if IS_ENABLED(CONFIG_BT_LEDS)
 7
 8void hci_leds_update_powered(struct hci_dev *hdev, bool enabled);
 9void hci_leds_init(struct hci_dev *hdev);
10
11void bt_leds_init(void);
12void bt_leds_cleanup(void);
13
14#else
15
16static inline void hci_leds_update_powered(struct hci_dev *hdev,
17					   bool enabled) {}
18static inline void hci_leds_init(struct hci_dev *hdev) {}
19
20static inline void bt_leds_init(void) {}
21static inline void bt_leds_cleanup(void) {}
22
23#endif
v4.6
 
 1/*
 2 * Copyright 2015, Heiner Kallweit <hkallweit1@gmail.com>
 3 *
 4 * This program is free software; you can redistribute it and/or modify
 5 * it under the terms of the GNU General Public License version 2 as
 6 * published by the Free Software Foundation.
 7 */
 8
 9#if IS_ENABLED(CONFIG_BT_LEDS)
 
10void hci_leds_update_powered(struct hci_dev *hdev, bool enabled);
11void hci_leds_init(struct hci_dev *hdev);
 
 
 
 
12#else
 
13static inline void hci_leds_update_powered(struct hci_dev *hdev,
14					   bool enabled) {}
15static inline void hci_leds_init(struct hci_dev *hdev) {}
 
 
 
 
16#endif