mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:57:44 +00:00
Kernel/USB: Add get_driver_by_name
helper in USBManagement
This commit is contained in:
parent
2aa17f619c
commit
3cfdc6e363
2 changed files with 7 additions and 0 deletions
|
@ -22,6 +22,7 @@ public:
|
|||
static USBManagement& the();
|
||||
|
||||
void register_driver(NonnullLockRefPtr<Driver> driver);
|
||||
LockRefPtr<Driver> get_driver_by_name(StringView name);
|
||||
void unregister_driver(NonnullLockRefPtr<Driver> driver);
|
||||
|
||||
Vector<NonnullLockRefPtr<Driver>>& available_drivers() { return m_available_drivers; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue