From 9a17871630324fe7847d60f2f8bcf3ce8b6f8151 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Tue, 16 Jul 2019 10:33:39 +0100 Subject: [PATCH] pci: Make unit tests compile Another member was added to the configuration struct. Signed-off-by: Rob Bradford --- pci/src/configuration.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pci/src/configuration.rs b/pci/src/configuration.rs index b6e84dbba..ef85550ea 100755 --- a/pci/src/configuration.rs +++ b/pci/src/configuration.rs @@ -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);