aboutsummaryrefslogtreecommitdiff
path: root/kernel/kapi/devices
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-07-24 23:49:56 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-07-24 23:49:56 +0200
commit40b8dcdbc77d5d845f9eaeb9fa4440a799727c6a (patch)
treed393bf34f912fd5ca17df457336487eeab4c0060 /kernel/kapi/devices
parent6eda6f0649bf325a29bb891287aa95c5814be982 (diff)
downloadkernel-40b8dcdbc77d5d845f9eaeb9fa4440a799727c6a.tar.xz
kernel-40b8dcdbc77d5d845f9eaeb9fa4440a799727c6a.zip
kapi: move interface_id
Diffstat (limited to 'kernel/kapi/devices')
-rw-r--r--kernel/kapi/devices/driver.tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kapi/devices/driver.tests.cpp b/kernel/kapi/devices/driver.tests.cpp
index ea351cca..dcf26336 100644
--- a/kernel/kapi/devices/driver.tests.cpp
+++ b/kernel/kapi/devices/driver.tests.cpp
@@ -76,14 +76,14 @@ namespace
struct leaf_identification
{
- constexpr kapi::devices::interface_id static id{"stacking_test_leaf_identification"};
+ constexpr auto static id = kapi::devices::interface_id{"stacking_test_leaf_identification"};
virtual ~leaf_identification() = default;
[[nodiscard]] virtual auto leaf_name() const -> std::string_view = 0;
};
struct leaf_driver_identification
{
- constexpr kapi::devices::interface_id static id{"stacking_test_leaf_driver_identification"};
+ constexpr auto static id = kapi::devices::interface_id{"stacking_test_leaf_driver_identification"};
virtual ~leaf_driver_identification() = default;
[[nodiscard]] virtual auto supported_names() const -> std::span<std::string_view const> = 0;
};