summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_debugfs.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-09-21 20:25:04 +0200
committerMarcel Holtmann <marcel@holtmann.org>2021-09-22 16:17:13 +0200
commit8331dc487fc55963e853b6858af716907717e181 (patch)
treece4e1e1971148aec19b7d6996b5aaf4b46bf03a2 /net/bluetooth/hci_debugfs.h
parentBluetooth: btmtkuart: fix a memleak in mtk_hci_wmt_sync (diff)
downloadlinux-8331dc487fc55963e853b6858af716907717e181.tar.xz
linux-8331dc487fc55963e853b6858af716907717e181.zip
Bluetooth: hci_core: Move all debugfs handling to hci_debugfs.c
This moves hci_debugfs_create_basic to hci_debugfs.c which is where all the others debugfs entries are handled. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_debugfs.h')
-rw-r--r--net/bluetooth/hci_debugfs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/bluetooth/hci_debugfs.h b/net/bluetooth/hci_debugfs.h
index 4444dc8cedc2..9a8a7c93bb12 100644
--- a/net/bluetooth/hci_debugfs.h
+++ b/net/bluetooth/hci_debugfs.h
@@ -26,6 +26,7 @@ void hci_debugfs_create_common(struct hci_dev *hdev);
void hci_debugfs_create_bredr(struct hci_dev *hdev);
void hci_debugfs_create_le(struct hci_dev *hdev);
void hci_debugfs_create_conn(struct hci_conn *conn);
+void hci_debugfs_create_basic(struct hci_dev *hdev);
#else
@@ -45,4 +46,8 @@ static inline void hci_debugfs_create_conn(struct hci_conn *conn)
{
}
+static inline void hci_debugfs_create_basic(struct hci_dev *hdev)
+{
+}
+
#endif