summaryrefslogtreecommitdiff
path: root/src/superio/winbond
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/winbond')
-rw-r--r--src/superio/winbond/wpcd376i/early_serial.c2
-rw-r--r--src/superio/winbond/wpcd376i/superio.c2
-rw-r--r--src/superio/winbond/wpcd376i/wpcd376i.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/superio/winbond/wpcd376i/early_serial.c b/src/superio/winbond/wpcd376i/early_serial.c
index 4845dd626e..115e097492 100644
--- a/src/superio/winbond/wpcd376i/early_serial.c
+++ b/src/superio/winbond/wpcd376i/early_serial.c
@@ -21,7 +21,7 @@
#include <device/pnp_def.h>
#include "wpcd376i.h"
-void wpcd376i_enable_serial(device_t dev, u16 iobase)
+void wpcd376i_enable_serial(pnp_devfn_t dev, u16 iobase)
{
pnp_set_logical_device(dev);
pnp_set_enable(dev, 0);
diff --git a/src/superio/winbond/wpcd376i/superio.c b/src/superio/winbond/wpcd376i/superio.c
index 25012b08e8..c18b9e57f8 100644
--- a/src/superio/winbond/wpcd376i/superio.c
+++ b/src/superio/winbond/wpcd376i/superio.c
@@ -24,7 +24,7 @@
#include "chip.h"
#include "wpcd376i.h"
-static void init(device_t dev)
+static void init(struct device *dev)
{
if (!dev->enabled)
return;
diff --git a/src/superio/winbond/wpcd376i/wpcd376i.h b/src/superio/winbond/wpcd376i/wpcd376i.h
index b894e4e0c7..8d770b4384 100644
--- a/src/superio/winbond/wpcd376i/wpcd376i.h
+++ b/src/superio/winbond/wpcd376i/wpcd376i.h
@@ -30,6 +30,6 @@
#define WPCD376I_KBCK 6 /* PS/2 keyboard */
#define WPCD376I_GPIO 7 /* General Purpose I/O */
-void wpcd376i_enable_serial(device_t dev, u16 iobase);
+void wpcd376i_enable_serial(pnp_devfn_t dev, u16 iobase);
#endif