]> Git Repo - linux.git/blame - net/bluetooth/aosp.h
Merge tag 's390-6.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[linux.git] / net / bluetooth / aosp.h
CommitLineData
f67743f9
MH
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2021 Intel Corporation
4 */
5
6#if IS_ENABLED(CONFIG_BT_AOSPEXT)
7
8void aosp_do_open(struct hci_dev *hdev);
9void aosp_do_close(struct hci_dev *hdev);
10
258f56d1
JH
11bool aosp_has_quality_report(struct hci_dev *hdev);
12int aosp_set_quality_report(struct hci_dev *hdev, bool enable);
13
f67743f9
MH
14#else
15
16static inline void aosp_do_open(struct hci_dev *hdev) {}
17static inline void aosp_do_close(struct hci_dev *hdev) {}
18
258f56d1
JH
19static inline bool aosp_has_quality_report(struct hci_dev *hdev)
20{
21 return false;
22}
23
24static inline int aosp_set_quality_report(struct hci_dev *hdev, bool enable)
25{
26 return -EOPNOTSUPP;
27}
28
f67743f9 29#endif
This page took 0.115329 seconds and 4 git commands to generate.