leds.h 554 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright 2015, Heiner Kallweit <[email protected]>
  4. */
  5. #if IS_ENABLED(CONFIG_BT_LEDS)
  6. void hci_leds_update_powered(struct hci_dev *hdev, bool enabled);
  7. void hci_leds_init(struct hci_dev *hdev);
  8. void bt_leds_init(void);
  9. void bt_leds_cleanup(void);
  10. #else
  11. static inline void hci_leds_update_powered(struct hci_dev *hdev,
  12. bool enabled) {}
  13. static inline void hci_leds_init(struct hci_dev *hdev) {}
  14. static inline void bt_leds_init(void) {}
  15. static inline void bt_leds_cleanup(void) {}
  16. #endif