pci: Make unit tests compile

Another member was added to the configuration struct.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2019-07-16 10:33:39 +01:00 committed by Samuel Ortiz
parent 74d079f7da
commit 9a17871630

View File

@ -643,6 +643,7 @@ mod tests {
PciHeaderType::Device,
0xABCD,
0x2468,
None,
);
// Add two capabilities with different contents.
@ -704,6 +705,7 @@ mod tests {
PciHeaderType::Device,
0xABCD,
0x2468,
None,
);
let class_reg = cfg.read_reg(2);