mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:47:45 +00:00
Kernel/SysFS: Split bulky SysFSUSB file into two separate class files
This commit is contained in:
parent
290eb53cb5
commit
e488245234
7 changed files with 145 additions and 116 deletions
|
@ -9,7 +9,7 @@
|
|||
#include <Kernel/Bus/USB/UHCI/UHCIController.h>
|
||||
#include <Kernel/Bus/USB/USBManagement.h>
|
||||
#include <Kernel/CommandLine.h>
|
||||
#include <Kernel/FileSystem/SysFS/Subsystems/Bus/USB/SysFSUSB.h>
|
||||
#include <Kernel/FileSystem/SysFS/Subsystems/Bus/USB/BusDirectory.h>
|
||||
#include <Kernel/Sections.h>
|
||||
|
||||
namespace Kernel::USB {
|
||||
|
@ -67,7 +67,7 @@ bool USBManagement::initialized()
|
|||
UNMAP_AFTER_INIT void USBManagement::initialize()
|
||||
{
|
||||
if (!s_initialized_sys_fs_directory) {
|
||||
USB::SysFSUSBBusDirectory::initialize();
|
||||
SysFSUSBBusDirectory::initialize();
|
||||
s_initialized_sys_fs_directory = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue