Use METHOD_VIDEO instead of the method string itself.

Pointed out by:	Andrew Thompson
This commit is contained in:
Nate Lawson 2004-04-14 03:32:01 +00:00
parent c2b3a864be
commit 96d340f27d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128223
2 changed files with 2 additions and 2 deletions

View File

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

View File

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