From 2829e3ec62f89e9b24a2158aad7c79b6a237ff79 Mon Sep 17 00:00:00 2001 From: njl Date: Wed, 14 Apr 2004 03:32:01 +0000 Subject: Use METHOD_VIDEO instead of the method string itself. Pointed out by: Andrew Thompson --- sys/dev/acpi_support/acpi_toshiba.c | 2 +- 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 4f8eb46..408cdf2 100644 --- a/sys/dev/acpi_support/acpi_toshiba.c +++ b/sys/dev/acpi_support/acpi_toshiba.c @@ -337,7 +337,7 @@ hci_video_output(ACPI_HANDLE h, int op, UINT32 *video_output) if (h == NULL) return (ENXIO); *video_output |= HCI_VIDEO_OUTPUT_FLAG; - status = acpi_SetInteger(h, "DSSX", *video_output); + status = acpi_SetInteger(h, METHOD_VIDEO, *video_output); if (ACPI_SUCCESS(status)) ret = 0; else diff --git a/sys/i386/acpica/acpi_toshiba.c b/sys/i386/acpica/acpi_toshiba.c index 4f8eb46..408cdf2 100644 --- a/sys/i386/acpica/acpi_toshiba.c +++ b/sys/i386/acpica/acpi_toshiba.c @@ -337,7 +337,7 @@ hci_video_output(ACPI_HANDLE h, int op, UINT32 *video_output) if (h == NULL) return (ENXIO); *video_output |= HCI_VIDEO_OUTPUT_FLAG; - status = acpi_SetInteger(h, "DSSX", *video_output); + status = acpi_SetInteger(h, METHOD_VIDEO, *video_output); if (ACPI_SUCCESS(status)) ret = 0; else -- cgit v1.1