Kernel/DeviceTree: Make Device non-movable

Making it movable is no longer necessary since bfda800128.
Making it non-movable ensures that drivers can rely on pointers to
devices being stable.
This commit is contained in:
Sönke Holz authored and Sönke Holz committed 2026-03-06 13:53:37 +01:00
1 parent d0267b3521
commit 4da3b074d8
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ class Management;
class Device {
AK_MAKE_NONCOPYABLE(Device);
AK_MAKE_DEFAULT_MOVABLE(Device);
AK_MAKE_NONMOVABLE(Device);
public:
Device(::DeviceTree::Node const& node, StringView node_name)