s/device_get_handle/acpi_get_handle

Submitted by:	Hiroyuki Aizu
This commit is contained in:
Nate Lawson 2004-06-15 16:49:20 +00:00
parent 538a4c1f75
commit 591b993b83
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130534
2 changed files with 2 additions and 2 deletions

View File

@ -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(device_get_handle(dev), "TOS6201")) {
acpi_MatchHid(acpi_get_handle(dev), "TOS6201")) {
device_quiet(dev);
device_set_desc(dev, "Toshiba Video");
ret = 0;

View File

@ -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(device_get_handle(dev), "TOS6201")) {
acpi_MatchHid(acpi_get_handle(dev), "TOS6201")) {
device_quiet(dev);
device_set_desc(dev, "Toshiba Video");
ret = 0;