summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-04-14 03:32:01 +0000
committernjl <njl@FreeBSD.org>2004-04-14 03:32:01 +0000
commit2829e3ec62f89e9b24a2158aad7c79b6a237ff79 (patch)
tree30c0f1bfe99571bc882843c656042da2f174ae53
parent9e1427e0cf685d56db9fa50acd78eec7aade411b (diff)
downloadFreeBSD-src-2829e3ec62f89e9b24a2158aad7c79b6a237ff79.zip
FreeBSD-src-2829e3ec62f89e9b24a2158aad7c79b6a237ff79.tar.gz
Use METHOD_VIDEO instead of the method string itself.
Pointed out by: Andrew Thompson
-rw-r--r--sys/dev/acpi_support/acpi_toshiba.c2
-rw-r--r--sys/i386/acpica/acpi_toshiba.c2
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
OpenPOWER on IntegriCloud