diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-01-15 11:42:07 -0800 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-01-15 11:42:07 -0800 |
commit | b26bfefb7ea107be3949daea0f6beca6d80c09d4 (patch) | |
tree | 3792a9d62a9050b14e431a2760cdccb0a249f869 /src | |
parent | d5b4dbe749e860e4349607c57467f8085dc28c33 (diff) |
Pass the correct pointer to pci_device_cfg_write_bits.
Diffstat (limited to 'src')
-rw-r--r-- | src/mga_dac3026.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_dac3026.c b/src/mga_dac3026.c index 5f879fd..9926017 100644 --- a/src/mga_dac3026.c +++ b/src/mga_dac3026.c @@ -746,7 +746,7 @@ MGA3026Restore(ScrnInfoPtr pScrn, vgaRegPtr vgaReg, MGARegPtr mgaReg, for (i = 0; i < 6; i++) OUTREG16(0x1FDE, (mgaReg->ExtVga[i] << 8) | i); - pci_device_cfg_write_bits(pMga, OPTION_MASK, mgaReg->Option, + pci_device_cfg_write_bits(pMga->PciInfo, OPTION_MASK, mgaReg->Option, PCI_OPTION_REG); MGA_NOT_HAL( |