diff options
Diffstat (limited to 'src/superio/NSC/pc97307')
-rw-r--r-- | src/superio/NSC/pc97307/chip.h | 2 | ||||
-rw-r--r-- | src/superio/NSC/pc97307/superio.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/NSC/pc97307/chip.h b/src/superio/NSC/pc97307/chip.h index 369c47a44b..63db6ba168 100644 --- a/src/superio/NSC/pc97307/chip.h +++ b/src/superio/NSC/pc97307/chip.h @@ -14,7 +14,7 @@ #define SIO_COM2_BASE 0x2F8 #endif -extern struct chip_operations superio_NSC_pc97307_control; +extern struct chip_operations superio_NSC_pc97307_ops; #include <pc80/keyboard.h> #include <uart8250.h> diff --git a/src/superio/NSC/pc97307/superio.c b/src/superio/NSC/pc97307/superio.c index 2f06b766e0..ebe5d36ee2 100644 --- a/src/superio/NSC/pc97307/superio.c +++ b/src/superio/NSC/pc97307/superio.c @@ -72,7 +72,7 @@ static struct pnp_info pnp_dev_info[] = { static void enable_dev(struct device *dev) { - pnp_enable_devices(dev, &pnp_ops, + pnp_enable_devices(dev, &ops, sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info); } |