diff options
Diffstat (limited to 'src/reg_dumper/hotplug.c')
-rw-r--r-- | src/reg_dumper/hotplug.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/reg_dumper/hotplug.c b/src/reg_dumper/hotplug.c index 68fe5842..de463844 100644 --- a/src/reg_dumper/hotplug.c +++ b/src/reg_dumper/hotplug.c @@ -72,10 +72,7 @@ int main(int argc, char **argv) if (dev->vendor_id != 0x8086) errx(1, "Graphics card is non-intel"); - i830.PciInfo = &i830.pci_info_rec; - i830.PciInfo->chipType = dev->device_id; - - i830.pci_dev = dev; + i830.PciInfo = dev; mmio_bar = IS_I9XX((&i830)) ? 0 : 1; |