summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8728f/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite/it8728f/superio.c')
-rw-r--r--src/superio/ite/it8728f/superio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/ite/it8728f/superio.c b/src/superio/ite/it8728f/superio.c
index e689b4c51f..ad644c6136 100644
--- a/src/superio/ite/it8728f/superio.c
+++ b/src/superio/ite/it8728f/superio.c
@@ -30,7 +30,7 @@
#include "it8728f.h"
#include "it8728f_internal.h"
-static void it8728f_init(device_t dev)
+static void it8728f_init(struct device *dev)
{
if (!dev->enabled)
return;
@@ -68,7 +68,7 @@ static struct pnp_info pnp_dev_info[] = {
{ &ops, IT8728F_IR, PNP_IO0 | PNP_IRQ0, {0x0ff8, 0}, },
};
-static void enable_dev(device_t dev)
+static void enable_dev(struct device *dev)
{
pnp_enable_devices(dev, &ops, ARRAY_SIZE(pnp_dev_info), pnp_dev_info);
}