From 0dbb9361b8940171078ccc7d29e127a703b52e8d Mon Sep 17 00:00:00 2001 From: Jesse Buhagiar Date: Tue, 10 Nov 2020 16:52:13 +1100 Subject: [PATCH] Kernel/USB: Move USB related files to into specific directory As the USB/UHCI driver grows in size, it'll be much cleaner to have all of the USB related files in one folder where they can be easily accessed :^) --- Kernel/CMakeLists.txt | 2 +- Kernel/Devices/{ => USB}/UHCIController.cpp | 2 +- Kernel/Devices/{ => USB}/UHCIController.h | 0 Kernel/init.cpp | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename Kernel/Devices/{ => USB}/UHCIController.cpp (98%) rename Kernel/Devices/{ => USB}/UHCIController.h (100%) diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt index 0208a58e507..8a3bdcaf1e7 100644 --- a/Kernel/CMakeLists.txt +++ b/Kernel/CMakeLists.txt @@ -32,7 +32,7 @@ set(KERNEL_SOURCES Devices/RandomDevice.cpp Devices/SB16.cpp Devices/SerialDevice.cpp - Devices/UHCIController.cpp + Devices/USB/UHCIController.cpp Devices/VMWareBackdoor.cpp Devices/ZeroDevice.cpp Storage/Partition/DiskPartition.cpp diff --git a/Kernel/Devices/UHCIController.cpp b/Kernel/Devices/USB/UHCIController.cpp similarity index 98% rename from Kernel/Devices/UHCIController.cpp rename to Kernel/Devices/USB/UHCIController.cpp index a76be53296e..9fb51ba0eb8 100644 --- a/Kernel/Devices/UHCIController.cpp +++ b/Kernel/Devices/USB/UHCIController.cpp @@ -24,7 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include +#include #define UHCI_ENABLED 0 diff --git a/Kernel/Devices/UHCIController.h b/Kernel/Devices/USB/UHCIController.h similarity index 100% rename from Kernel/Devices/UHCIController.h rename to Kernel/Devices/USB/UHCIController.h diff --git a/Kernel/init.cpp b/Kernel/init.cpp index f261bbd575d..c279265fb40 100644 --- a/Kernel/init.cpp +++ b/Kernel/init.cpp @@ -39,7 +39,7 @@ #include #include #include -#include +#include #include #include #include