summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb800/sata.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-19 12:33:01 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-21 20:01:33 +0000
commit315b239c3578a1448796ba5901bf1023c511207c (patch)
tree268562b3f52fc085b3c77c7cb74e903ffd927f55 /src/southbridge/amd/sb800/sata.c
parentf29a6898ec10459e49c9380b9b342e6ee633a6ce (diff)
downloadcoreboot-315b239c3578a1448796ba5901bf1023c511207c.tar.xz
sb/amd/sb800: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Ie48b42cf2999df075e23dc8ba185934b4e600157 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26405 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/sb800/sata.c')
-rw-r--r--src/southbridge/amd/sb800/sata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/sb800/sata.c b/src/southbridge/amd/sb800/sata.c
index 978ccec84b..15b2527434 100644
--- a/src/southbridge/amd/sb800/sata.c
+++ b/src/southbridge/amd/sb800/sata.c
@@ -85,7 +85,7 @@ static void sata_init(struct device *dev)
struct southbridge_ati_sb800_config *conf;
conf = dev->chip_info;
- device_t sm_dev;
+ struct device *sm_dev;
/* SATA SMBus Disable */
/* sm_dev = pci_locate_device(PCI_ID(0x1002, 0x4385), 0); */
sm_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0));