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
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;