aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2009-08-23 09:58:06 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2009-08-23 09:58:06 +0000
commit3471c35ded56ab98da54291b8c99a79853879f6f (patch)
tree0f301febbf2d447389b3a724ba910766ff723b69 /sys/dev
parent88579aa572d7472e2a7199cc7466438f69e73244 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/asmc/asmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c
index b13f6ddc2544..7f7f03140144 100644
--- a/sys/dev/asmc/asmc.c
+++ b/sys/dev/asmc/asmc.c
@@ -419,7 +419,8 @@ asmc_attach(device_t dev)
SYSCTL_ADD_PROC(sysctlctx,
SYSCTL_CHILDREN(sc->sc_light_tree),
- OID_AUTO, "control", CTLTYPE_INT | CTLFLAG_RW,
+ OID_AUTO, "control",
+ CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_ANYBODY,
dev, 0, model->smc_light_control, "I",
"Keyboard backlight brightness control");
}