diff options
author | njl <njl@FreeBSD.org> | 2004-06-15 02:17:23 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-06-15 02:17:23 +0000 |
commit | 1bbd7dc3ea2564a9e6b8f1f68dc55fd370c754bd (patch) | |
tree | 1c4c5e1dbfbdfc987424dfe7678981dd6178dfcb | |
parent | 8d89806526e7859c90ca819ddd9c8186b096ec05 (diff) | |
download | FreeBSD-src-1bbd7dc3ea2564a9e6b8f1f68dc55fd370c754bd.zip FreeBSD-src-1bbd7dc3ea2564a9e6b8f1f68dc55fd370c754bd.tar.gz |
Catch one more use of acpi_MatchHid and update for new API.
-rw-r--r-- | sys/dev/acpi_support/acpi_toshiba.c | 2 | ||||
-rw-r--r-- | sys/i386/acpica/acpi_toshiba.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi_support/acpi_toshiba.c b/sys/dev/acpi_support/acpi_toshiba.c index e3565be..1249926 100644 --- a/sys/dev/acpi_support/acpi_toshiba.c +++ b/sys/dev/acpi_support/acpi_toshiba.c @@ -529,7 +529,7 @@ acpi_toshiba_video_probe(device_t dev) if (!acpi_disabled("toshiba") && acpi_get_type(dev) == ACPI_TYPE_DEVICE && device_get_unit(dev) == 0 && - acpi_MatchHid(dev, "TOS6201")) { + acpi_MatchHid(device_get_handle(dev), "TOS6201")) { device_quiet(dev); device_set_desc(dev, "Toshiba Video"); ret = 0; diff --git a/sys/i386/acpica/acpi_toshiba.c b/sys/i386/acpica/acpi_toshiba.c index e3565be..1249926 100644 --- a/sys/i386/acpica/acpi_toshiba.c +++ b/sys/i386/acpica/acpi_toshiba.c @@ -529,7 +529,7 @@ acpi_toshiba_video_probe(device_t dev) if (!acpi_disabled("toshiba") && acpi_get_type(dev) == ACPI_TYPE_DEVICE && device_get_unit(dev) == 0 && - acpi_MatchHid(dev, "TOS6201")) { + acpi_MatchHid(device_get_handle(dev), "TOS6201")) { device_quiet(dev); device_set_desc(dev, "Toshiba Video"); ret = 0; |