summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/amd8151
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-19 14:58:29 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-21 20:09:15 +0000
commitd9edab5102fc953d2a6d606782519e16c0da6798 (patch)
tree0b83f2147610434dfe189ae9900bb492e26488eb /src/southbridge/amd/amd8151
parentd0f3e17bfed7f5a28b26fcf06abf3ff4b666e687 (diff)
sb/amd/amd8151: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Id8a5043015806d8a433a948fc1889ee867ca3aeb Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26412 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/amd8151')
-rw-r--r--src/southbridge/amd/amd8151/agp3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/amd8151/agp3.c b/src/southbridge/amd/amd8151/agp3.c
index 18dd6d54c2..0cddc20de2 100644
--- a/src/southbridge/amd/amd8151/agp3.c
+++ b/src/southbridge/amd/amd8151/agp3.c
@@ -20,7 +20,7 @@
#include <device/pci_ids.h>
#include <device/pci_ops.h>
-static void agp3bridge_init(device_t dev)
+static void agp3bridge_init(struct device *dev)
{
uint8_t byte;
@@ -46,7 +46,7 @@ static const struct pci_driver agp3bridge_driver __pci_driver = {
.device = 0x7455, // AGP Bridge
};
-static void agp3dev_enable(device_t dev)
+static void agp3dev_enable(struct device *dev)
{
uint32_t value;