diff options
Diffstat (limited to 'src/superio/ite/it8772f/superio.c')
-rw-r--r-- | src/superio/ite/it8772f/superio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/superio/ite/it8772f/superio.c b/src/superio/ite/it8772f/superio.c index 38f31c03ad..143cc30905 100644 --- a/src/superio/ite/it8772f/superio.c +++ b/src/superio/ite/it8772f/superio.c @@ -26,7 +26,7 @@ #include "chip.h" /* FIXME */ #include "it8772f.h" -static void pnp_enter_ext_func_mode(device_t dev) +static void pnp_enter_ext_func_mode(struct device *dev) { u16 port = dev->path.pnp.port; @@ -36,7 +36,7 @@ static void pnp_enter_ext_func_mode(device_t dev) outb((port == 0x4e) ? 0xaa : 0x55, port); } -static void pnp_exit_ext_func_mode(device_t dev) +static void pnp_exit_ext_func_mode(struct device *dev) { pnp_write_config(dev, 0x02, 0x02); } @@ -131,7 +131,7 @@ static void it8772f_enable_fan(struct resource *res, int fan) } } -static void it8772f_init(device_t dev) +static void it8772f_init(struct device *dev) { struct superio_ite_it8772f_config *conf = dev->chip_info; struct resource *res; |