1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Catch one more use of acpi_MatchHid and update for new API.

This commit is contained in:
Nate Lawson 2004-06-15 02:17:23 +00:00
parent 345281bc43
commit f6c8318b0f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130511
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(dev, "TOS6201")) {
acpi_MatchHid(device_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(dev, "TOS6201")) {
acpi_MatchHid(device_get_handle(dev), "TOS6201")) {
device_quiet(dev);
device_set_desc(dev, "Toshiba Video");
ret = 0;