mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:07:45 +00:00
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:
parent
0a3467d665
commit
d8d7b5d82c
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,8 @@
|
||||||
|
|
||||||
#include <AK/Types.h>
|
#include <AK/Types.h>
|
||||||
|
|
||||||
|
namespace Kernel::USB {
|
||||||
|
|
||||||
//
|
//
|
||||||
// bmRequestType fields
|
// 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_SET_DESCRIPTOR = 0x07;
|
||||||
static constexpr u8 USB_REQUEST_GET_CONFIGURATION = 0x08;
|
static constexpr u8 USB_REQUEST_GET_CONFIGURATION = 0x08;
|
||||||
static constexpr u8 USB_REQUEST_SET_CONFIGURATION = 0x09;
|
static constexpr u8 USB_REQUEST_SET_CONFIGURATION = 0x09;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue