/* * Copyright (c) 2020, Liav A. * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include #include namespace Kernel::PCI { ErrorOr> DeviceIdentifier::from_enumerable_identifier(EnumerableDeviceIdentifier const& other_identifier) { return adopt_nonnull_ref_or_enomem(new (nothrow) DeviceIdentifier(other_identifier)); } }