xref: /linux/net/bluetooth/hci_debugfs.h (revision 035a07d5df7003bc6954f0aa42174416b775021c)
160c5f5fbSMarcel Holtmann /*
260c5f5fbSMarcel Holtmann    BlueZ - Bluetooth protocol stack for Linux
360c5f5fbSMarcel Holtmann    Copyright (C) 2014 Intel Corporation
460c5f5fbSMarcel Holtmann 
560c5f5fbSMarcel Holtmann    This program is free software; you can redistribute it and/or modify
660c5f5fbSMarcel Holtmann    it under the terms of the GNU General Public License version 2 as
760c5f5fbSMarcel Holtmann    published by the Free Software Foundation;
860c5f5fbSMarcel Holtmann 
960c5f5fbSMarcel Holtmann    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1060c5f5fbSMarcel Holtmann    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1160c5f5fbSMarcel Holtmann    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
1260c5f5fbSMarcel Holtmann    IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) AND AUTHOR(S) BE LIABLE FOR ANY
1360c5f5fbSMarcel Holtmann    CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES
1460c5f5fbSMarcel Holtmann    WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1560c5f5fbSMarcel Holtmann    ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1660c5f5fbSMarcel Holtmann    OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1760c5f5fbSMarcel Holtmann 
1860c5f5fbSMarcel Holtmann    ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY PATENTS,
1960c5f5fbSMarcel Holtmann    COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS
2060c5f5fbSMarcel Holtmann    SOFTWARE IS DISCLAIMED.
2160c5f5fbSMarcel Holtmann */
2260c5f5fbSMarcel Holtmann 
23*035a07d5SMarcel Holtmann #if IS_ENABLED(CONFIG_BT_DEBUGFS)
24*035a07d5SMarcel Holtmann 
2560c5f5fbSMarcel Holtmann void hci_debugfs_create_common(struct hci_dev *hdev);
2660c5f5fbSMarcel Holtmann void hci_debugfs_create_bredr(struct hci_dev *hdev);
2760c5f5fbSMarcel Holtmann void hci_debugfs_create_le(struct hci_dev *hdev);
2823b9ceb7SMarcel Holtmann void hci_debugfs_create_conn(struct hci_conn *conn);
29*035a07d5SMarcel Holtmann 
30*035a07d5SMarcel Holtmann #else
31*035a07d5SMarcel Holtmann 
32*035a07d5SMarcel Holtmann static inline void hci_debugfs_create_common(struct hci_dev *hdev)
33*035a07d5SMarcel Holtmann {
34*035a07d5SMarcel Holtmann }
35*035a07d5SMarcel Holtmann 
36*035a07d5SMarcel Holtmann static inline void hci_debugfs_create_bredr(struct hci_dev *hdev)
37*035a07d5SMarcel Holtmann {
38*035a07d5SMarcel Holtmann }
39*035a07d5SMarcel Holtmann 
40*035a07d5SMarcel Holtmann static inline void hci_debugfs_create_le(struct hci_dev *hdev)
41*035a07d5SMarcel Holtmann {
42*035a07d5SMarcel Holtmann }
43*035a07d5SMarcel Holtmann 
44*035a07d5SMarcel Holtmann static inline void hci_debugfs_create_conn(struct hci_conn *conn)
45*035a07d5SMarcel Holtmann {
46*035a07d5SMarcel Holtmann }
47*035a07d5SMarcel Holtmann 
48*035a07d5SMarcel Holtmann #endif
49