This file will be used by userspace code later on, so let's move to the API directory.
@@ -8,9 +8,5 @@
#include <AK/DistinctNumeric.h>
-namespace Kernel {
-
AK_TYPEDEF_DISTINCT_ORDERED_ID(unsigned, MajorNumber);
AK_TYPEDEF_DISTINCT_ORDERED_ID(unsigned, MinorNumber);
-}
@@ -18,8 +18,8 @@
#include <AK/Error.h>
#include <AK/Function.h>
#include <AK/HashMap.h>
+#include <Kernel/API/DeviceFileTypes.h>
#include <Kernel/Devices/AsyncDeviceRequest.h>
-#include <Kernel/FileSystem/DeviceFileTypes.h>
#include <Kernel/FileSystem/File.h>
#include <Kernel/FileSystem/SysFS/Registry.h>
#include <Kernel/FileSystem/SysFS/Subsystems/DeviceIdentifiers/DeviceComponent.h>
@@ -9,7 +9,7 @@
#include <AK/Span.h>
#include <AK/Time.h>
#include <Kernel/FileSystem/InodeIdentifier.h>
#include <Kernel/Forward.h>
#include <Kernel/UnixTypes.h>