1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:57:34 +00:00

Kernel: Rename SystemRegistrar => SysFSComponentRegistry

This commit is contained in:
Andreas Kling 2021-07-11 01:05:26 +02:00
parent ea8578bf11
commit 27244eb0ee
7 changed files with 19 additions and 19 deletions

View file

@ -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);