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:
parent
74d079f7da
commit
9a17871630
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue