blob: 08725a2fbd9b5682434347e567ff07c1f595cbcc [file] [log] [blame]
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +01001/*
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)
Marcel Holtmanne64c97b2016-07-21 14:12:41 +020010
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +010011void hci_leds_update_powered(struct hci_dev *hdev, bool enabled);
12void hci_leds_init(struct hci_dev *hdev);
Marcel Holtmanne64c97b2016-07-21 14:12:41 +020013
14void bt_leds_init(void);
15void bt_leds_cleanup(void);
16
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +010017#else
Marcel Holtmanne64c97b2016-07-21 14:12:41 +020018
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +010019static inline void hci_leds_update_powered(struct hci_dev *hdev,
20 bool enabled) {}
21static inline void hci_leds_init(struct hci_dev *hdev) {}
Marcel Holtmanne64c97b2016-07-21 14:12:41 +020022
23static inline void bt_leds_init(void) {}
24static inline void bt_leds_cleanup(void) {}
25
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +010026#endif