diff options
author | jhb <jhb@FreeBSD.org> | 2002-10-09 20:39:26 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-10-09 20:39:26 +0000 |
commit | c7f1a97230ee2fe689731659b3cff71addd6d7dc (patch) | |
tree | d648e77eb761d7cb359d008fd0b1232c37ac423d /sys/dev/acpica/acpi.c | |
parent | 405e3dcfbfaa839a647dccc145713fd5a9d9d4f6 (diff) | |
download | FreeBSD-src-c7f1a97230ee2fe689731659b3cff71addd6d7dc.zip FreeBSD-src-c7f1a97230ee2fe689731659b3cff71addd6d7dc.tar.gz |
Use d_thread_t for cdevsw functions instead of struct thread * so that it
is easier to share this code with 4-stable.
Diffstat (limited to 'sys/dev/acpica/acpi.c')
-rw-r--r-- | sys/dev/acpica/acpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index 5a7df11..29c17db 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -1786,19 +1786,19 @@ acpi_deregister_ioctl(u_long cmd, int (* fn)(u_long cmd, caddr_t addr, void *arg } static int -acpiopen(dev_t dev, int flag, int fmt, struct thread *td) +acpiopen(dev_t dev, int flag, int fmt, d_thread_t *td) { return(0); } static int -acpiclose(dev_t dev, int flag, int fmt, struct thread *td) +acpiclose(dev_t 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, struct thread *td) +acpiioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, d_thread_t *td) { struct acpi_softc *sc; struct acpi_ioctl_hook *hp; |