summaryrefslogtreecommitdiff
path: root/Kernel/Bus/USB
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-01-28 15:55:55 +0200
committerIdan Horowitz <idan.horowitz@gmail.com>2022-01-28 19:05:52 +0200
commitad7d4d9be163b1e7fa09c7cc268e55a35c684ef1 (patch)
tree03993f75382d3aae0e430714421a757498dfaa0e /Kernel/Bus/USB
parentfa7ae7288bb6979c59e37d0ac8a64a39f150bac1 (diff)
downloadserenity-ad7d4d9be163b1e7fa09c7cc268e55a35c684ef1.zip
Kernel: Rename UHCIController::{spawn_port_proc => spawn_port_process}
There's no need to use this non-standard shorthand mnemonic. (This commit also removes the unimplemented do_debug_transfer while we're here.)
Diffstat (limited to 'Kernel/Bus/USB')
-rw-r--r--Kernel/Bus/USB/UHCI/UHCIController.cpp4
-rw-r--r--Kernel/Bus/USB/UHCI/UHCIController.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/Kernel/Bus/USB/UHCI/UHCIController.cpp b/Kernel/Bus/USB/UHCI/UHCIController.cpp
index 06ec1ac5a6..e50f421d3b 100644
--- a/Kernel/Bus/USB/UHCI/UHCIController.cpp
+++ b/Kernel/Bus/USB/UHCI/UHCIController.cpp
@@ -76,7 +76,7 @@ ErrorOr<void> UHCIController::initialize()
dmesgln("UHCI: I/O base {}", m_io_base);
dmesgln("UHCI: Interrupt line: {}", interrupt_number());
- spawn_port_proc();
+ spawn_port_process();
TRY(reset());
return start();
@@ -464,7 +464,7 @@ size_t UHCIController::poll_transfer_queue(QueueHead& transfer_queue)
return transfer_size;
}
-void UHCIController::spawn_port_proc()
+void UHCIController::spawn_port_process()
{
RefPtr<Thread> usb_hotplug_thread;
diff --git a/Kernel/Bus/USB/UHCI/UHCIController.h b/Kernel/Bus/USB/UHCI/UHCIController.h
index e3007763e6..6b800dceb0 100644
--- a/Kernel/Bus/USB/UHCI/UHCIController.h
+++ b/Kernel/Bus/USB/UHCI/UHCIController.h
@@ -42,9 +42,7 @@ public:
virtual ErrorOr<void> reset() override;
virtual ErrorOr<void> stop() override;
virtual ErrorOr<void> start() override;
- void spawn_port_proc();
-
- void do_debug_transfer();
+ void spawn_port_process();
virtual ErrorOr<size_t> submit_control_transfer(Transfer& transfer) override;