Skip to content

Commit 387ddbb

Browse files
committed
aml: specify default Global allocator for PciConfigRegions
1 parent 4fff735 commit 387ddbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/pci.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use alloc::{
1717
/// function of a PCIe device, [`PciConfigRegions::physical_address`] will give you the physical
1818
/// address of the start of that device function's configuration space (each function has 4096
1919
/// bytes of configuration space in PCIe).
20-
pub struct PciConfigRegions<A: Allocator> {
20+
pub struct PciConfigRegions<A: Allocator = Global> {
2121
pub regions: Vec<McfgEntry, A>,
2222
}
2323

0 commit comments

Comments
 (0)