diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-19 12:37:54 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-21 20:00:52 +0000 |
commit | f29a6898ec10459e49c9380b9b342e6ee633a6ce (patch) | |
tree | 9773f705f0fdcd6885ea19ec7eaf5078a82047d6 /src/southbridge/amd/sb700/sata.c | |
parent | 7f55810cf0e4d415cc71d7c58094040e49e14a37 (diff) | |
download | coreboot-f29a6898ec10459e49c9380b9b342e6ee633a6ce.tar.xz |
sb/amd/sb700: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I53acc7dd4ddf2787fc1e59d604cadc4f3b4cb49c
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26406
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/sb700/sata.c')
-rw-r--r-- | src/southbridge/amd/sb700/sata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/sb700/sata.c b/src/southbridge/amd/sb700/sata.c index 2045d52f2d..6caffee9b5 100644 --- a/src/southbridge/amd/sb700/sata.c +++ b/src/southbridge/amd/sb700/sata.c @@ -133,7 +133,7 @@ static void sata_init(struct device *dev) if (get_option(&nvram, "sata_alpm") == CB_SUCCESS) sata_alpm_enable = !!nvram; - device_t sm_dev; + struct device *sm_dev; /* SATA SMBus Disable */ sm_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0)); @@ -170,7 +170,7 @@ static void sata_init(struct device *dev) byte |= (1 << 3); pci_write_config8(sm_dev, 0xad, byte); - device_t ide_dev; + struct device *ide_dev; /* IDE Device */ ide_dev = dev_find_slot(0, PCI_DEVFN(0x14, 1)); |