diff options
author | b14ckcat <b14ckcat@protonmail.com> | 2022-04-25 10:29:37 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-26 22:56:45 +0200 |
commit | d8d7b5d82c0ed99b28dc4d33c1e14c740832cd3f (patch) | |
tree | c1e211db070f7d56d2da8552c19cab6710b0c02a /Kernel/Bus | |
parent | 0a3467d6657f2ff938ba66671b74d67b076031d1 (diff) | |
download | serenity-d8d7b5d82c0ed99b28dc4d33c1e14c740832cd3f.zip |
Kernel: Put USB request constants in namespace
Moved constants in USBRequest.h from global scope to the Kernel::USB
namespace.
Diffstat (limited to 'Kernel/Bus')
-rw-r--r-- | Kernel/Bus/USB/USBRequest.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/Bus/USB/USBRequest.h b/Kernel/Bus/USB/USBRequest.h index b307919848..10a67b6235 100644 --- a/Kernel/Bus/USB/USBRequest.h +++ b/Kernel/Bus/USB/USBRequest.h @@ -9,6 +9,8 @@ #include <AK/Types.h> +namespace Kernel::USB { + // // bmRequestType fields // @@ -39,3 +41,5 @@ static constexpr u8 USB_REQUEST_GET_DESCRIPTOR = 0x06; static constexpr u8 USB_REQUEST_SET_DESCRIPTOR = 0x07; static constexpr u8 USB_REQUEST_GET_CONFIGURATION = 0x08; static constexpr u8 USB_REQUEST_SET_CONFIGURATION = 0x09; + +} |