blob: bb5e0920443635b593ec9eb068f6057966b3d0b6 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +01002/*
3 * Copyright 2015, Heiner Kallweit <hkallweit1@gmail.com>
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +01004 */
5
6#if IS_ENABLED(CONFIG_BT_LEDS)
Marcel Holtmanne64c97b2016-07-21 14:12:41 +02007
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +01008void hci_leds_update_powered(struct hci_dev *hdev, bool enabled);
9void hci_leds_init(struct hci_dev *hdev);
Marcel Holtmanne64c97b2016-07-21 14:12:41 +020010
11void bt_leds_init(void);
12void bt_leds_cleanup(void);
13
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +010014#else
Marcel Holtmanne64c97b2016-07-21 14:12:41 +020015
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +010016static inline void hci_leds_update_powered(struct hci_dev *hdev,
17 bool enabled) {}
18static inline void hci_leds_init(struct hci_dev *hdev) {}
Marcel Holtmanne64c97b2016-07-21 14:12:41 +020019
20static inline void bt_leds_init(void) {}
21static inline void bt_leds_cleanup(void) {}
22
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +010023#endif