aboutsummaryrefslogtreecommitdiff
path: root/kernel/devices/include
diff options
context:
space:
mode:
authorLukas Oesch <lukasoesch20@gmail.com>2026-03-17 12:39:17 +0100
committerLukas Oesch <lukasoesch20@gmail.com>2026-03-17 16:44:38 +0100
commitf1885d0d09d5d94ad326f2257c9502b9545f0e79 (patch)
treecadf310b59a3db630f1b02630bab9b1b029fda8e /kernel/devices/include
parent3f8af998aaf87d83af3af6c5708d8a84b775b50e (diff)
downloadteachos-f1885d0d09d5d94ad326f2257c9502b9545f0e79.tar.xz
teachos-f1885d0d09d5d94ad326f2257c9502b9545f0e79.zip
use const & wherever applicable
Diffstat (limited to 'kernel/devices/include')
-rw-r--r--kernel/devices/include/devices/storage/storage_management.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/devices/include/devices/storage/storage_management.hpp b/kernel/devices/include/devices/storage/storage_management.hpp
index 65211c8..f8ffda8 100644
--- a/kernel/devices/include/devices/storage/storage_management.hpp
+++ b/kernel/devices/include/devices/storage/storage_management.hpp
@@ -42,7 +42,7 @@ namespace devices::storage
*
* Assigns controller IDs (major number range and minors per device).
*/
- auto add_controller(kstd::shared_ptr<storage_controller> controller) -> void;
+ auto add_controller(kstd::shared_ptr<storage_controller> const & controller) -> void;
/**
* @brief Return all registered storage controllers.