blob: bb5e0920443635b593ec9eb068f6057966b3d0b6 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Copyright 2015, Heiner Kallweit <hkallweit1@gmail.com>
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00004 */
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