summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/device/pci_rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/pci_rom.c b/src/device/pci_rom.c
index 35d3d69bd4..517fb33baa 100644
--- a/src/device/pci_rom.c
+++ b/src/device/pci_rom.c
@@ -41,7 +41,7 @@ struct rom_header *pci_rom_probe(struct device *dev)
rom_header = cbfs_boot_map_optionrom(dev->vendor, dev->device);
u32 vendev = (dev->vendor << 16) | dev->device;
- u32 mapped_vendev = vendev;
+ u32 mapped_vendev;
mapped_vendev = map_oprom_vendev(vendev);