checkpatch: improve GIT_COMMIT_ID test
[linux-2.6-microblaze.git] / net / bluetooth / aosp.h
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
8 void aosp_do_open(struct hci_dev *hdev);
9 void aosp_do_close(struct hci_dev *hdev);
10
11 #else
12
13 static inline void aosp_do_open(struct hci_dev *hdev) {}
14 static inline void aosp_do_close(struct hci_dev *hdev) {}
15
16 #endif