diff options
Diffstat (limited to 'src/superio')
-rw-r--r-- | src/superio/intel/i8900/i8900.h | 6 | ||||
-rw-r--r-- | src/superio/winbond/wpcd376i/early_serial.c | 2 | ||||
-rw-r--r-- | src/superio/winbond/wpcd376i/superio.c | 2 | ||||
-rw-r--r-- | src/superio/winbond/wpcd376i/wpcd376i.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/superio/intel/i8900/i8900.h b/src/superio/intel/i8900/i8900.h index 0312d41cbb..3879a36423 100644 --- a/src/superio/intel/i8900/i8900.h +++ b/src/superio/intel/i8900/i8900.h @@ -49,8 +49,8 @@ #define I8900_UART_CLK_PREDIVIDE_26 0x02 #define I8900_ENABLE_SIRQ 0x01 -void i8900_configure_uart_clk(device_t dev, u8 predivide); -void i8900_enable_serial(device_t dev, u16 iobase); -void i8900_enable_wdt(device_t dev, u16 iobase); +void i8900_configure_uart_clk(pnp_devfn_t dev, u8 predivide); +void i8900_enable_serial(pnp_devfn_t dev, u16 iobase); +void i8900_enable_wdt(pnp_devfn_t dev, u16 iobase); #endif 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 |