summaryrefslogtreecommitdiff
path: root/src/superio/nuvoton
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nuvoton')
-rw-r--r--src/superio/nuvoton/nct5104d/superio.c2
-rw-r--r--src/superio/nuvoton/wpcm450/superio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/nuvoton/nct5104d/superio.c b/src/superio/nuvoton/nct5104d/superio.c
index c2a744fa6c..af1d4aac53 100644
--- a/src/superio/nuvoton/nct5104d/superio.c
+++ b/src/superio/nuvoton/nct5104d/superio.c
@@ -25,7 +25,7 @@
#include "nct5104d.h"
#include "chip.h"
-static void nct5104d_init(device_t dev)
+static void nct5104d_init(struct device *dev)
{
struct superio_nuvoton_nct5104d_config *conf = dev->chip_info;
u8 reg10, reg11, reg26;
diff --git a/src/superio/nuvoton/wpcm450/superio.c b/src/superio/nuvoton/wpcm450/superio.c
index ff815cf3ff..5322acef18 100644
--- a/src/superio/nuvoton/wpcm450/superio.c
+++ b/src/superio/nuvoton/wpcm450/superio.c
@@ -27,7 +27,7 @@
#include <stdlib.h>
#include "wpcm450.h"
-static void init(device_t dev)
+static void init(struct device *dev)
{
if (!dev->enabled)