Make dev.asmc.N.light.control writable by everyone.

Submitted by:	Patrick Lamaiziere <patfbsd at davenulle.org>
MFC after:	1 week
This commit is contained in:
Rui Paulo 2009-08-23 09:58:06 +00:00
parent 88579aa572
commit 3471c35ded

View File

@ -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");
}