Date: Fri, 6 Dec 2013 17:45:14 +0000 (UTC) From: Luiz Otavio O Souza <loos@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r259034 - head/sys/arm/broadcom/bcm2835 Message-ID: <201312061745.rB6HjE9h060021@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: loos Date: Fri Dec 6 17:45:14 2013 New Revision: 259034 URL: http://svnweb.freebsd.org/changeset/base/259034 Log: Make the sysctl node read-only. Approved by: adrian (mentor) Modified: head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c ============================================================================== --- head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c Fri Dec 6 15:27:42 2013 (r259033) +++ head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c Fri Dec 6 17:45:14 2013 (r259034) @@ -589,7 +589,7 @@ bcm_gpio_sysctl_init(struct bcm_gpio_sof tree_node = device_get_sysctl_tree(sc->sc_dev); tree = SYSCTL_CHILDREN(tree_node); pin_node = SYSCTL_ADD_NODE(ctx, tree, OID_AUTO, "pin", - CTLFLAG_RW, NULL, "GPIO Pins"); + CTLFLAG_RD, NULL, "GPIO Pins"); pin_tree = SYSCTL_CHILDREN(pin_node); for (i = 0; i < sc->sc_gpio_npins; i++) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312061745.rB6HjE9h060021>