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:
committed by
Kyösti Mälkki
parent
d0f3e17bfe
commit
d9edab5102
@ -20,7 +20,7 @@
|
|||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
|
|
||||||
static void agp3bridge_init(device_t dev)
|
static void agp3bridge_init(struct device *dev)
|
||||||
{
|
{
|
||||||
uint8_t byte;
|
uint8_t byte;
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ static const struct pci_driver agp3bridge_driver __pci_driver = {
|
|||||||
.device = 0x7455, // AGP Bridge
|
.device = 0x7455, // AGP Bridge
|
||||||
};
|
};
|
||||||
|
|
||||||
static void agp3dev_enable(device_t dev)
|
static void agp3dev_enable(struct device *dev)
|
||||||
{
|
{
|
||||||
uint32_t value;
|
uint32_t value;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user