From 59b8e4f511e299f6ef189b6a8fe50a4f23e84f4d Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 20 May 2018 10:59:17 +0200 Subject: nb/via/vx800: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: Ib432d3c3ce2788b0138a1b0e852385ab4f9b65ee Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26425 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/northbridge/via/vx800/lpc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/northbridge/via/vx800/lpc.c') diff --git a/src/northbridge/via/vx800/lpc.c b/src/northbridge/via/vx800/lpc.c index 1ab11c05f7..93413a2d1f 100644 --- a/src/northbridge/via/vx800/lpc.c +++ b/src/northbridge/via/vx800/lpc.c @@ -94,7 +94,7 @@ static void pci_routing_fixup(struct device *dev) printk(BIOS_SPEW, "%s: DONE\n", __FUNCTION__); } -static void setup_pm(device_t dev) +static void setup_pm(struct device *dev) { u16 tmp; /* Debounce LID and PWRBTN# Inputs for 16ms. */ @@ -274,7 +274,7 @@ static void vx800_sb_init(struct device *dev) /* total kludge to get lxb to call our childrens set/enable functions - these are not called unless this device has a resource to set - so set a dummy one */ -static void vx800_read_resources(device_t dev) +static void vx800_read_resources(struct device *dev) { struct resource *resource; @@ -287,7 +287,7 @@ static void vx800_read_resources(device_t dev) resource->base = 0x2e; } -static void vx800_set_resources(device_t dev) +static void vx800_set_resources(struct device *dev) { struct resource *resource; resource = find_resource(dev, 1); -- cgit v1.2.3