diff options
author | ssouhlal <ssouhlal@FreeBSD.org> | 2004-12-15 06:22:33 +0000 |
---|---|---|
committer | ssouhlal <ssouhlal@FreeBSD.org> | 2004-12-15 06:22:33 +0000 |
commit | 5ec8391060c923f14f17e4c273b2932c53698a13 (patch) | |
tree | 5a08c991b2b89ee1cc70f68672ab444e145db33e /sys/dev | |
parent | d14f874c4f407958e29db6575a66bd5ba89c3050 (diff) | |
download | FreeBSD-src-5ec8391060c923f14f17e4c273b2932c53698a13.zip FreeBSD-src-5ec8391060c923f14f17e4c273b2932c53698a13.tar.gz |
Use the SYSCTL_ADD_OID macro, instead of directly calling sysctl_add_oid().
Approved by: anholt, grehan (mentor)
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/drm/drm_sysctl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/drm_sysctl.h b/sys/dev/drm/drm_sysctl.h index a1ab863..c7e6eef 100644 --- a/sys/dev/drm/drm_sysctl.h +++ b/sys/dev/drm/drm_sysctl.h @@ -91,7 +91,7 @@ int DRM(sysctl_init)(drm_device_t *dev) return 1; for (i = 0; i < DRM_SYSCTL_ENTRIES; i++) { - oid = sysctl_add_oid( &info->ctx, + oid = SYSCTL_ADD_OID( &info->ctx, SYSCTL_CHILDREN(top), OID_AUTO, DRM(sysctl_list)[i].name, |