projects/linux·blob master · refs

50 lines · 1.5 KiB

1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 BlueZ - Bluetooth protocol stack for Linux
4 Copyright (C) 2014 Intel Corporation
5
6 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
7 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
8 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
9 IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) AND AUTHOR(S) BE LIABLE FOR ANY
10 CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES
11 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14
15 ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY PATENTS,
16 COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS
17 SOFTWARE IS DISCLAIMED.
18*/
19
20#if IS_ENABLED(CONFIG_BT_DEBUGFS)
21
22void hci_debugfs_create_common(struct hci_dev *hdev);
23void hci_debugfs_create_bredr(struct hci_dev *hdev);
24void hci_debugfs_create_le(struct hci_dev *hdev);
25void hci_debugfs_create_conn(struct hci_conn *conn);
26void hci_debugfs_create_basic(struct hci_dev *hdev);
27
28#else
29
30static inline void hci_debugfs_create_common(struct hci_dev *hdev)
31{
32}
33
34static inline void hci_debugfs_create_bredr(struct hci_dev *hdev)
35{
36}
37
38static inline void hci_debugfs_create_le(struct hci_dev *hdev)
39{
40}
41
42static inline void hci_debugfs_create_conn(struct hci_conn *conn)
43{
44}
45
46static inline void hci_debugfs_create_basic(struct hci_dev *hdev)
47{
48}
49
50#endif