aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/cx700/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/via/cx700/lpc.c')
-rw-r--r--src/northbridge/via/cx700/lpc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/via/cx700/lpc.c b/src/northbridge/via/cx700/lpc.c
index 4915066386..6a3c80c407 100644
--- a/src/northbridge/via/cx700/lpc.c
+++ b/src/northbridge/via/cx700/lpc.c
@@ -76,7 +76,7 @@ static void pci_routing_fixup(struct device *dev)
* can't figure out how to do !!!!
*/
-static void setup_pm(device_t dev)
+static void setup_pm(struct device *dev)
{
/* Debounce LID and PWRBTN# Inputs for 16ms. */
pci_write_config8(dev, 0x80, 0x20);
@@ -226,7 +226,7 @@ static void cx700_set_lpc_registers(struct device *dev)
}
-static void cx700_read_resources(device_t dev)
+static void cx700_read_resources(struct device *dev)
{
struct resource *res;
@@ -248,7 +248,7 @@ static void cx700_read_resources(device_t dev)
res->flags = IORESOURCE_MEM | IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
}
-static void cx700_set_resources(device_t dev)
+static void cx700_set_resources(struct device *dev)
{
struct resource *resource;
resource = find_resource(dev, 1);
@@ -256,7 +256,7 @@ static void cx700_set_resources(device_t dev)
pci_dev_set_resources(dev);
}
-static void cx700_enable_resources(device_t dev)
+static void cx700_enable_resources(struct device *dev)
{
/* Enable SuperIO decoding */
pci_dev_enable_resources(dev);