mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 01:30:43 +00:00
Use METHOD_VIDEO instead of the method string itself.
Pointed out by: Andrew Thompson
This commit is contained in:
parent
c2b3a864be
commit
96d340f27d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128223
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user