diff options
Diffstat (limited to 'src/northbridge/via/vx800/pci_rawops.h')
-rw-r--r-- | src/northbridge/via/vx800/pci_rawops.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/northbridge/via/vx800/pci_rawops.h b/src/northbridge/via/vx800/pci_rawops.h index aa465d9629..14a0f1fda4 100644 --- a/src/northbridge/via/vx800/pci_rawops.h +++ b/src/northbridge/via/vx800/pci_rawops.h @@ -31,7 +31,8 @@ struct VIA_PCI_REG_INIT_TABLE { u8 Value; }; -static void pci_modify_config8(device_t dev, unsigned where, u8 orval, u8 mask) +static void pci_modify_config8(pci_devfn_t dev, unsigned where, u8 orval, + u8 mask) { u8 data = pci_read_config8(dev, where); data &= (~mask); @@ -43,7 +44,7 @@ static void via_pci_inittable(u8 chipversion, const struct VIA_PCI_REG_INIT_TABLE *initdata) { u8 i = 0; - device_t devbxdxfx; + pci_devfn_t devbxdxfx; for (i = 0;; i++) { if ((initdata[i].Mask == 0) && (initdata[i].Value == 0) && (initdata[i].Bus == 0) |