diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-16 09:47:26 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-16 09:47:26 +0000 |
| commit | 89c9c53da05197f657dfe8e0bdda6941a2e9a0d4 (patch) | |
| tree | 624c885995e84df6decddd3291c60a15e50e3c85 /sys/dev/acpica | |
| parent | d420fcda27350a7e2d3d8f3b2c9de6aa74df2e30 (diff) | |
Notes
Diffstat (limited to 'sys/dev/acpica')
| -rw-r--r-- | sys/dev/acpica/acpi.c | 6 | ||||
| -rw-r--r-- | sys/dev/acpica/acpivar.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index 0f0712be0203d..ffc66d2c3386c 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -2455,19 +2455,19 @@ acpi_deregister_ioctl(u_long cmd, acpi_ioctl_fn fn) } static int -acpiopen(dev_t dev, int flag, int fmt, d_thread_t *td) +acpiopen(struct cdev *dev, int flag, int fmt, d_thread_t *td) { return (0); } static int -acpiclose(dev_t dev, int flag, int fmt, d_thread_t *td) +acpiclose(struct cdev *dev, int flag, int fmt, d_thread_t *td) { return (0); } static int -acpiioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, d_thread_t *td) +acpiioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, d_thread_t *td) { struct acpi_softc *sc; struct acpi_ioctl_hook *hp; diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h index 959681d5826da..c0bc481950c98 100644 --- a/sys/dev/acpica/acpivar.h +++ b/sys/dev/acpica/acpivar.h @@ -45,7 +45,7 @@ typedef vm_offset_t vm_paddr_t; struct acpi_softc { device_t acpi_dev; - dev_t acpi_dev_t; + struct cdev *acpi_dev_t; struct resource *acpi_irq; int acpi_irq_rid; |
