Kernel: Put USB request constants in namespace

Moved constants in USBRequest.h from global scope to the Kernel::USB
namespace.
This commit is contained in:
b14ckcat 2022-04-25 10:29:37 -04:00 committed by Linus Groh
parent 0a3467d665
commit d8d7b5d82c
Notes: sideshowbarker 2024-07-17 11:30:55 +09:00

View file

@ -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;
}