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>
This commit is contained in:
Elyes HAOUAS 2018-05-19 14:58:29 +02:00 committed by Kyösti Mälkki
parent d0f3e17bfe
commit d9edab5102
1 changed files with 2 additions and 2 deletions

View File

@ -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;