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:
parent
88579aa572
commit
3471c35ded
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user