Kernel/USB: Expose USBConfiguration in USBInterface

This commit is contained in:
Jesse Buhagiar 2022-05-22 19:12:49 +10:00 committed by Andrew Kaster
parent 3cfdc6e363
commit b0ed126538
Notes: sideshowbarker 2024-07-17 06:45:52 +09:00

View file

@ -26,6 +26,7 @@ public:
Vector<USBEndpointDescriptor> 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