]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - net/bluetooth/leds.h
dccp: defer ccid_hc_tx_delete() at dismantle time
[mirror_ubuntu-artful-kernel.git] / net / bluetooth / leds.h
CommitLineData
6d5d2ee6
HK
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)
e64c97b5 10
6d5d2ee6
HK
11void hci_leds_update_powered(struct hci_dev *hdev, bool enabled);
12void hci_leds_init(struct hci_dev *hdev);
e64c97b5
MH
13
14void bt_leds_init(void);
15void bt_leds_cleanup(void);
16
6d5d2ee6 17#else
e64c97b5 18
6d5d2ee6
HK
19static inline void hci_leds_update_powered(struct hci_dev *hdev,
20 bool enabled) {}
21static inline void hci_leds_init(struct hci_dev *hdev) {}
e64c97b5
MH
22
23static inline void bt_leds_init(void) {}
24static inline void bt_leds_cleanup(void) {}
25
6d5d2ee6 26#endif