diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-09-18 12:19:48 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-09-21 14:06:25 +0000 |
commit | 62bafca159e44b5e9b1782c03eb4021d06fc2845 (patch) | |
tree | 533a400a578a9892b28953eb2edc629b9a184aa7 | |
parent | 0f416d6874a55ebb8cad6aeedd8d0cb91e8b50d1 (diff) |
nb/via/vx900: Get rid of device_t
Use of device_t is deprecated.
Change-Id: I70dcefd5bc9864931f66bece1f044f806f5d7ae0
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/28655
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r-- | src/northbridge/via/vx900/vx900.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/via/vx900/vx900.h b/src/northbridge/via/vx900/vx900.h index cb7bca9703..a2a360ac0d 100644 --- a/src/northbridge/via/vx900/vx900.h +++ b/src/northbridge/via/vx900/vx900.h @@ -50,12 +50,12 @@ void pci_mod_config16(pci_devfn_t dev, unsigned int where, void pci_mod_config32(pci_devfn_t dev, unsigned int where, uint32_t clr_mask, uint32_t set_mask); #else -void dump_pci_device(device_t dev); -void pci_mod_config8(device_t dev, unsigned int where, +void dump_pci_device(struct device *dev); +void pci_mod_config8(struct device *dev, unsigned int where, uint8_t clr_mask, uint8_t set_mask); -void pci_mod_config16(device_t dev, unsigned int where, +void pci_mod_config16(struct device *dev, unsigned int where, uint16_t clr_mask, uint16_t set_mask); -void pci_mod_config32(device_t dev, unsigned int where, +void pci_mod_config32(struct device *dev, unsigned int where, uint32_t clr_mask, uint32_t set_mask); #endif |