mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 20:45:14 +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
Notes:
sideshowbarker
2024-07-17 11:30:55 +09:00
Author: https://github.com/b14ckcat Commit: https://github.com/SerenityOS/serenity/commit/d8d7b5d82c Pull-request: https://github.com/SerenityOS/serenity/pull/13792
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue