aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/extres
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-04-27 00:12:00 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-04-27 00:12:00 +0000
commitee710ecf32bcf97d6df9d7923be9622bbbae45cd (patch)
tree0cdd26170b61170ce643985c886d7d47a0724a87 /sys/dev/extres
parent14ec0f3a3b1c60ea4f7273cd26b5802347f309ba (diff)
Notes
Diffstat (limited to 'sys/dev/extres')
-rw-r--r--sys/dev/extres/clk/clk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/extres/clk/clk.c b/sys/dev/extres/clk/clk.c
index 04beaeea0cb50..6e0ac3531956b 100644
--- a/sys/dev/extres/clk/clk.c
+++ b/sys/dev/extres/clk/clk.c
@@ -50,6 +50,8 @@ __FBSDID("$FreeBSD$");
#endif
#include <dev/extres/clk/clk.h>
+SYSCTL_NODE(_hw, OID_AUTO, clock, CTLFLAG_RD, NULL, "Clocks");
+
MALLOC_DEFINE(M_CLOCK, "clocks", "Clock framework");
/* Forward declarations. */
@@ -570,7 +572,7 @@ clknode_create(struct clkdom * clkdom, clknode_class_t clknode_class,
sysctl_ctx_init(&clknode->sysctl_ctx);
clknode_oid = SYSCTL_ADD_NODE(&clknode->sysctl_ctx,
- SYSCTL_STATIC_CHILDREN(_clock),
+ SYSCTL_STATIC_CHILDREN(_hw_clock),
OID_AUTO, clknode->name,
CTLFLAG_RD, 0, "A clock node");