summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorJesse Buhagiar <jesse.buhagiar@student.rmit.edu.au>2020-11-10 16:52:13 +1100
committerAndreas Kling <kling@serenityos.org>2021-01-09 13:48:15 +0100
commit0dbb9361b8940171078ccc7d29e127a703b52e8d (patch)
treea9006cd40b80ecb8f3ac591ade6ab4014773a27d /Kernel
parent8b6db78aa7bfb41fca6c0fb09cbe0f773d2f3436 (diff)
downloadserenity-0dbb9361b8940171078ccc7d29e127a703b52e8d.zip
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 :^)
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/CMakeLists.txt2
-rw-r--r--Kernel/Devices/USB/UHCIController.cpp (renamed from Kernel/Devices/UHCIController.cpp)2
-rw-r--r--Kernel/Devices/USB/UHCIController.h (renamed from Kernel/Devices/UHCIController.h)0
-rw-r--r--Kernel/init.cpp2
4 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt
index 0208a58e50..8a3bdcaf1e 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
index a76be53296..9fb51ba0eb 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 <Kernel/Devices/UHCIController.h>
+#include <Kernel/Devices/USB/UHCIController.h>
#define UHCI_ENABLED 0
diff --git a/Kernel/Devices/UHCIController.h b/Kernel/Devices/USB/UHCIController.h
index 88f1d52051..88f1d52051 100644
--- a/Kernel/Devices/UHCIController.h
+++ b/Kernel/Devices/USB/UHCIController.h
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index f261bbd575..c279265fb4 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -39,7 +39,7 @@
#include <Kernel/Devices/RandomDevice.h>
#include <Kernel/Devices/SB16.h>
#include <Kernel/Devices/SerialDevice.h>
-#include <Kernel/Devices/UHCIController.h>
+#include <Kernel/Devices/USB/UHCIController.h>
#include <Kernel/Devices/VMWareBackdoor.h>
#include <Kernel/Devices/ZeroDevice.h>
#include <Kernel/FileSystem/Ext2FileSystem.h>