Bluetooth: Add skeleton functions for debugfs creation
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 20 Dec 2014 15:05:13 +0000 (16:05 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 20 Dec 2014 15:50:34 +0000 (17:50 +0200)
The debugfs file creation has been part of the core initialization
handling of controllers. With the introduction of Bluetooth 4.2 core
specification, the number of debugfs files is increasing even further.

To avoid cluttering the core controller handling, create a separate
file hci_debugfs.c to centralize all debugfs file creation. For now
leave the current files in the core, but in the future all debugfs
file creation will be moved.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/Makefile
net/bluetooth/hci_core.c
net/bluetooth/hci_debugfs.c [new file with mode: 0644]
net/bluetooth/hci_debugfs.h [new file with mode: 0644]

Simple merge
Simple merge
Simple merge
Simple merge