From d8d7b5d82c0ed99b28dc4d33c1e14c740832cd3f Mon Sep 17 00:00:00 2001 From: b14ckcat Date: Mon, 25 Apr 2022 10:29:37 -0400 Subject: [PATCH] Kernel: Put USB request constants in namespace Moved constants in USBRequest.h from global scope to the Kernel::USB namespace. --- Kernel/Bus/USB/USBRequest.h | 4 ++++ 1 file changed, 4 insertions(+) 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 +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; + +}