src: Get rid of device_t
Use of device_t is deprecated. Change-Id: Ie05869901ac33d7089e21110f46c1241f7ee731f Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/30047 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Kyösti Mälkki
parent
4139c15276
commit
f9e47cc4c2
@@ -21,9 +21,6 @@
|
||||
typedef u32 pci_devfn_t;
|
||||
|
||||
#ifdef __SIMPLE_DEVICE__
|
||||
// FIXME: Use of device_t is deprecated
|
||||
typedef pci_devfn_t device_t;
|
||||
|
||||
u8 pci_read_config8(pci_devfn_t dev, unsigned int where);
|
||||
u16 pci_read_config16(pci_devfn_t dev, unsigned int where);
|
||||
u32 pci_read_config32(pci_devfn_t dev, unsigned int where);
|
||||
|
Reference in New Issue
Block a user