From 7b73bc23e1aa17cba7b690ce5eb085c70f248bf8 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Sun, 23 Aug 2009 09:58:06 +0000 Subject: Make dev.asmc.N.light.control writable by everyone. Submitted by: Patrick Lamaiziere MFC after: 1 week --- sys/dev/asmc/asmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/asmc') diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c index b13f6dd..7f7f031 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"); } -- cgit v1.1