Heiner Kallweit | 6d5d2ee | 2016-01-08 19:28:58 +0100 | [diff] [blame] | 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) |
Marcel Holtmann | e64c97b | 2016-07-21 14:12:41 +0200 | [diff] [blame] | 10 | |
Heiner Kallweit | 6d5d2ee | 2016-01-08 19:28:58 +0100 | [diff] [blame] | 11 | void hci_leds_update_powered(struct hci_dev *hdev, bool enabled); |
| 12 | void hci_leds_init(struct hci_dev *hdev); |
Marcel Holtmann | e64c97b | 2016-07-21 14:12:41 +0200 | [diff] [blame] | 13 | |
| 14 | void bt_leds_init(void); |
| 15 | void bt_leds_cleanup(void); |
| 16 | |
Heiner Kallweit | 6d5d2ee | 2016-01-08 19:28:58 +0100 | [diff] [blame] | 17 | #else |
Marcel Holtmann | e64c97b | 2016-07-21 14:12:41 +0200 | [diff] [blame] | 18 | |
Heiner Kallweit | 6d5d2ee | 2016-01-08 19:28:58 +0100 | [diff] [blame] | 19 | static inline void hci_leds_update_powered(struct hci_dev *hdev, |
| 20 | bool enabled) {} |
| 21 | static inline void hci_leds_init(struct hci_dev *hdev) {} |
Marcel Holtmann | e64c97b | 2016-07-21 14:12:41 +0200 | [diff] [blame] | 22 | |
| 23 | static inline void bt_leds_init(void) {} |
| 24 | static inline void bt_leds_cleanup(void) {} |
| 25 | |
Heiner Kallweit | 6d5d2ee | 2016-01-08 19:28:58 +0100 | [diff] [blame] | 26 | #endif |