Marcel Holtmann | 60c5f5f | 2014-12-20 16:05:13 +0100 | [diff] [blame] | 1 | /* |
| 2 | BlueZ - Bluetooth protocol stack for Linux |
| 3 | Copyright (C) 2014 Intel Corporation |
| 4 | |
| 5 | This program is free software; you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License version 2 as |
| 7 | published by the Free Software Foundation; |
| 8 | |
| 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 10 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 11 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. |
| 12 | IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) AND AUTHOR(S) BE LIABLE FOR ANY |
| 13 | CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES |
| 14 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 15 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 16 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 17 | |
| 18 | ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY PATENTS, |
| 19 | COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS |
| 20 | SOFTWARE IS DISCLAIMED. |
| 21 | */ |
| 22 | |
Marcel Holtmann | 035a07d | 2015-02-14 13:40:06 -0800 | [diff] [blame] | 23 | #if IS_ENABLED(CONFIG_BT_DEBUGFS) |
| 24 | |
Marcel Holtmann | 60c5f5f | 2014-12-20 16:05:13 +0100 | [diff] [blame] | 25 | void hci_debugfs_create_common(struct hci_dev *hdev); |
| 26 | void hci_debugfs_create_bredr(struct hci_dev *hdev); |
| 27 | void hci_debugfs_create_le(struct hci_dev *hdev); |
Marcel Holtmann | 23b9ceb | 2014-12-20 17:13:41 +0100 | [diff] [blame] | 28 | void hci_debugfs_create_conn(struct hci_conn *conn); |
Marcel Holtmann | 035a07d | 2015-02-14 13:40:06 -0800 | [diff] [blame] | 29 | |
| 30 | #else |
| 31 | |
| 32 | static inline void hci_debugfs_create_common(struct hci_dev *hdev) |
| 33 | { |
| 34 | } |
| 35 | |
| 36 | static inline void hci_debugfs_create_bredr(struct hci_dev *hdev) |
| 37 | { |
| 38 | } |
| 39 | |
| 40 | static inline void hci_debugfs_create_le(struct hci_dev *hdev) |
| 41 | { |
| 42 | } |
| 43 | |
| 44 | static inline void hci_debugfs_create_conn(struct hci_conn *conn) |
| 45 | { |
| 46 | } |
| 47 | |
| 48 | #endif |