summaryrefslogtreecommitdiff
path: root/src/northbridge/via/vx800/lpc.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-20 10:59:17 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-21 14:01:33 +0000
commit59b8e4f511e299f6ef189b6a8fe50a4f23e84f4d (patch)
treeb188d2678c795d92f0eea92ef28ca94f9b46b54c /src/northbridge/via/vx800/lpc.c
parente58a782c113c98c02f070cfb0c9c910902833e9b (diff)
downloadcoreboot-59b8e4f511e299f6ef189b6a8fe50a4f23e84f4d.tar.xz
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 <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26425 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/northbridge/via/vx800/lpc.c')
-rw-r--r--src/northbridge/via/vx800/lpc.c6
1 files changed, 3 insertions, 3 deletions
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);