From b0ed126538eb9b3b2d64a4f1bc4f2cc9c377dbf7 Mon Sep 17 00:00:00 2001 From: Jesse Buhagiar Date: Sun, 22 May 2022 19:12:49 +1000 Subject: [PATCH] Kernel/USB: Expose USBConfiguration in USBInterface --- Kernel/Bus/USB/USBInterface.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/Bus/USB/USBInterface.h b/Kernel/Bus/USB/USBInterface.h index 6c2af2cc63..f853cbee62 100644 --- a/Kernel/Bus/USB/USBInterface.h +++ b/Kernel/Bus/USB/USBInterface.h @@ -26,6 +26,7 @@ public: Vector const& endpoints() const { return m_endpoint_descriptors; } USBInterfaceDescriptor const& descriptor() const { return m_descriptor; } + USBConfiguration const& configuration() const { return m_configuration; } private: USBConfiguration const& m_configuration; // Configuration that this interface belongs to