mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 05:54:23 +08:00
f67743f9e0
When drivers indicate support for AOSP vendor extension, initialize them and read its capabilities. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
17 lines
338 B
C
17 lines
338 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (C) 2021 Intel Corporation
|
|
*/
|
|
|
|
#if IS_ENABLED(CONFIG_BT_AOSPEXT)
|
|
|
|
void aosp_do_open(struct hci_dev *hdev);
|
|
void aosp_do_close(struct hci_dev *hdev);
|
|
|
|
#else
|
|
|
|
static inline void aosp_do_open(struct hci_dev *hdev) {}
|
|
static inline void aosp_do_close(struct hci_dev *hdev) {}
|
|
|
|
#endif
|