summaryrefslogtreecommitdiffstats
path: root/sys/i386
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 /sys/i386
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
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/acpica/acpi_toshiba.c2
1 files changed, 1 insertions, 1 deletions
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