diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-19 14:30:47 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-20 09:16:54 +0000 |
commit | a93e754c36f27508a233011871fba2150553f90c (patch) | |
tree | 3ff9bda1d1ea8cd9f9e88b6e11330b44065c43b7 /src/southbridge/amd/agesa/hudson/spi.c | |
parent | ddfccb4b9a6ead49ba8482ccafa432dd229cc9be (diff) | |
download | coreboot-a93e754c36f27508a233011871fba2150553f90c.tar.xz |
sb/amd/agesa/hudson: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I85aafdc204731734ba4f02551ba5ccdd6535df77
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26408
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/amd/agesa/hudson/spi.c')
-rw-r--r-- | src/southbridge/amd/agesa/hudson/spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/agesa/hudson/spi.c b/src/southbridge/amd/agesa/hudson/spi.c index 22951ab9f0..de6792f692 100644 --- a/src/southbridge/amd/agesa/hudson/spi.c +++ b/src/southbridge/amd/agesa/hudson/spi.c @@ -79,7 +79,7 @@ static void execute_command(void) void spi_init(void) { - device_t dev; + struct device *dev; dev = dev_find_slot(0, PCI_DEVFN(0x14, 3)); spibar = pci_read_config32(dev, 0xA0) & ~0x1F; |