diff --git a/Kernel/Bus/USB/USBInterface.h b/Kernel/Bus/USB/USBInterface.h index 6aa5806030..6c2af2cc63 100644 --- a/Kernel/Bus/USB/USBInterface.h +++ b/Kernel/Bus/USB/USBInterface.h @@ -25,6 +25,8 @@ public: Vector const& endpoints() const { return m_endpoint_descriptors; } + USBInterfaceDescriptor const& descriptor() const { return m_descriptor; } + private: USBConfiguration const& m_configuration; // Configuration that this interface belongs to USBInterfaceDescriptor const m_descriptor; // Descriptor backing this interface