summaryrefslogtreecommitdiff
path: root/src/southbridge/via/vt8237r/ide.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-19 10:29:50 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-21 20:26:01 +0000
commitbcb124e0098156b0d7f03589cf631aa3738a0dae (patch)
tree2eb0311de04242b7a272067072cb9e738de5bfa1 /src/southbridge/via/vt8237r/ide.c
parentec41dae245df3fd938de0dfce3459f2a85a92753 (diff)
sb/via/vt8237r: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Ic4137bc4008d08e0e0d002e52c353fc29355ccb1 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26395 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/via/vt8237r/ide.c')
-rw-r--r--src/southbridge/via/vt8237r/ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/via/vt8237r/ide.c b/src/southbridge/via/vt8237r/ide.c
index e500c2cbdf..ac9a5e781c 100644
--- a/src/southbridge/via/vt8237r/ide.c
+++ b/src/southbridge/via/vt8237r/ide.c
@@ -103,7 +103,7 @@ static void ide_init(struct device *dev)
pci_write_config32(dev, IDE_UDMA, cablesel);
#if IS_ENABLED(CONFIG_EPIA_VT8237R_INIT)
- device_t lpc_dev;
+ struct device *lpc_dev;
/* Set PATA Output Drive Strength */
lpc_dev = dev_find_device(PCI_VENDOR_ID_VIA,