From d9edab5102fc953d2a6d606782519e16c0da6798 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 19 May 2018 14:58:29 +0200 Subject: sb/amd/amd8151: Get rid of device_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use of device_t has been abandoned in ramstage. Change-Id: Id8a5043015806d8a433a948fc1889ee867ca3aeb Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26412 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/southbridge/amd/amd8151/agp3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/southbridge/amd/amd8151') 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 #include -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; -- cgit v1.2.3