summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpica/acpi_video.c')
-rw-r--r--sys/dev/acpica/acpi_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_video.c b/sys/dev/acpica/acpi_video.c
index 933370c..f8133aa 100644
--- a/sys/dev/acpica/acpi_video.c
+++ b/sys/dev/acpica/acpi_video.c
@@ -537,7 +537,7 @@ acpi_video_vo_init(UINT32 adr)
SYSCTL_ADD_PROC(&vo->vo_sysctl_ctx,
SYSCTL_CHILDREN(vo->vo_sysctl_tree),
OID_AUTO, "levels",
- CTLTYPE_OPAQUE|CTLFLAG_RD, vo, 0,
+ CTLTYPE_INT | CTLFLAG_RD, vo, 0,
acpi_video_vo_levels_sysctl, "I",
"supported brightness levels");
} else
OpenPOWER on IntegriCloud