Linux 6.10-rc3
[linux-block.git] / net / bluetooth / leds.h
CommitLineData
d2912cb1 1/* SPDX-License-Identifier: GPL-2.0-only */
6d5d2ee6
HK
2/*
3 * Copyright 2015, Heiner Kallweit <hkallweit1@gmail.com>
6d5d2ee6
HK
4 */
5
6#if IS_ENABLED(CONFIG_BT_LEDS)
e64c97b5 7
6d5d2ee6
HK
8void hci_leds_update_powered(struct hci_dev *hdev, bool enabled);
9void hci_leds_init(struct hci_dev *hdev);
e64c97b5
MH
10
11void bt_leds_init(void);
12void bt_leds_cleanup(void);
13
6d5d2ee6 14#else
e64c97b5 15
6d5d2ee6
HK
16static inline void hci_leds_update_powered(struct hci_dev *hdev,
17 bool enabled) {}
18static inline void hci_leds_init(struct hci_dev *hdev) {}
e64c97b5
MH
19
20static inline void bt_leds_init(void) {}
21static inline void bt_leds_cleanup(void) {}
22
6d5d2ee6 23#endif