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) |
| 10 | void hci_leds_update_powered(struct hci_dev *hdev, bool enabled); |
| 11 | void hci_leds_init(struct hci_dev *hdev); |
Heiner Kallweit | 6d5d2ee | 2016-01-08 19:28:58 +0100 | [diff] [blame] | 12 | #else |
| 13 | static inline void hci_leds_update_powered(struct hci_dev *hdev, |
| 14 | bool enabled) {} |
| 15 | static inline void hci_leds_init(struct hci_dev *hdev) {} |
Heiner Kallweit | 6d5d2ee | 2016-01-08 19:28:58 +0100 | [diff] [blame] | 16 | #endif |