]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit40cdae720b61c2949888d3f40232599531dfbe27
treebc76be896f5f86ed8238adead6b3580dabf6cbb0
parent3adc5a33806bf44ab6b4c302737d98989ddca2fe
Bluetooth: Add skeleton functions for debugfs creation

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]