mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:07:44 +00:00
Kernel: Rename SystemRegistrar => SysFSComponentRegistry
This commit is contained in:
parent
ea8578bf11
commit
27244eb0ee
7 changed files with 19 additions and 19 deletions
|
@ -389,11 +389,11 @@ UNMAP_AFTER_INIT ExposedDeviceFolder::ExposedDeviceFolder(const SystemExposedFol
|
|||
UNMAP_AFTER_INIT void BusExposedFolder::initialize()
|
||||
{
|
||||
auto pci_folder = adopt_ref(*new (nothrow) BusExposedFolder());
|
||||
SystemRegistrar::the().register_new_component(pci_folder);
|
||||
SysFSComponentRegistry::the().register_new_component(pci_folder);
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT BusExposedFolder::BusExposedFolder()
|
||||
: SystemExposedFolder("pci", SystemRegistrar::the().root_folder())
|
||||
: SystemExposedFolder("pci", SysFSComponentRegistry::the().root_folder())
|
||||
{
|
||||
PCI::enumerate([&](const Address& address, ID) {
|
||||
auto pci_device = PCI::ExposedDeviceFolder::create(*this, address);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue