Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright 2015, Heiner Kallweit <hkallweit1@gmail.com>
0004  */
0005 
0006 #if IS_ENABLED(CONFIG_BT_LEDS)
0007 
0008 void hci_leds_update_powered(struct hci_dev *hdev, bool enabled);
0009 void hci_leds_init(struct hci_dev *hdev);
0010 
0011 void bt_leds_init(void);
0012 void bt_leds_cleanup(void);
0013 
0014 #else
0015 
0016 static inline void hci_leds_update_powered(struct hci_dev *hdev,
0017                        bool enabled) {}
0018 static inline void hci_leds_init(struct hci_dev *hdev) {}
0019 
0020 static inline void bt_leds_init(void) {}
0021 static inline void bt_leds_cleanup(void) {}
0022 
0023 #endif