aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/vx900/pcie.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-25 08:09:53 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-04 02:41:24 +0000
commit2a5f6cb35188dcf8efb049d086c9ad88a48d2fc2 (patch)
treefc709fd9c8d80b20b27ddcf7a666b330d52e049a /src/northbridge/via/vx900/pcie.c
parentdf3de64b3703e136e0b178c00e71ac785e1de20f (diff)
nb/via/vx900: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I31143e1c7f1c52dec9673f75d73031632049ddbf Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26529 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge/via/vx900/pcie.c')
-rw-r--r--src/northbridge/via/vx900/pcie.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/via/vx900/pcie.c b/src/northbridge/via/vx900/pcie.c
index ae81739185..1d3ecd9938 100644
--- a/src/northbridge/via/vx900/pcie.c
+++ b/src/northbridge/via/vx900/pcie.c
@@ -35,7 +35,7 @@
* If the link never comes up, we hang.
*/
-static void vx900_pcie_link_init(device_t dev)
+static void vx900_pcie_link_init(struct device *dev)
{
u8 reg8;
u32 reg32;
@@ -81,12 +81,12 @@ static void vx900_pcie_link_init(device_t dev)
* time? */
}
-static void vx900_pex_dev_set_resources(device_t dev)
+static void vx900_pex_dev_set_resources(struct device *dev)
{
assign_resources(dev->link_list);
}
-static void vx900_pex_init(device_t dev)
+static void vx900_pex_init(struct device *dev)
{
/* FIXME: For some reason, PEX0 hangs on init. Find issue, fix it. */
if ((dev->path.pci.devfn & 0x7) == 0)