diff options
author | Liav A <liavalb@gmail.com> | 2022-04-22 10:04:37 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-06-17 11:01:27 +0200 |
commit | e488245234be2b82127a0131938908b6583c47de (patch) | |
tree | 21e9580f5566efe37dc46ac05b576e9b2ce30f68 /Kernel/Bus/USB | |
parent | 290eb53cb531021f41f30cd4abd38f8665d37460 (diff) | |
download | serenity-e488245234be2b82127a0131938908b6583c47de.zip |
Kernel/SysFS: Split bulky SysFSUSB file into two separate class files
Diffstat (limited to 'Kernel/Bus/USB')
-rw-r--r-- | Kernel/Bus/USB/USBHub.cpp | 2 | ||||
-rw-r--r-- | Kernel/Bus/USB/USBManagement.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Bus/USB/USBHub.cpp b/Kernel/Bus/USB/USBHub.cpp index c2c94df961..8376bb1a4f 100644 --- a/Kernel/Bus/USB/USBHub.cpp +++ b/Kernel/Bus/USB/USBHub.cpp @@ -9,7 +9,7 @@ #include <Kernel/Bus/USB/USBController.h> #include <Kernel/Bus/USB/USBHub.h> #include <Kernel/Bus/USB/USBRequest.h> -#include <Kernel/FileSystem/SysFS/Subsystems/Bus/USB/SysFSUSB.h> +#include <Kernel/FileSystem/SysFS/Subsystems/Bus/USB/BusDirectory.h> #include <Kernel/StdLib.h> namespace Kernel::USB { diff --git a/Kernel/Bus/USB/USBManagement.cpp b/Kernel/Bus/USB/USBManagement.cpp index 5130654fd8..3bb784e659 100644 --- a/Kernel/Bus/USB/USBManagement.cpp +++ b/Kernel/Bus/USB/USBManagement.cpp @@ -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; } |