mirror of
https://github.com/opnsense/src.git
synced 2026-02-16 00:58:21 -05:00
Use SYSCTL_FOREACH in drm2
This was added recently. Use it to get the correct _FOREACH macro. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
9d4cff787e
commit
e0853c9336
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ int drm_sysctl_init(struct drm_device *dev)
|
|||
|
||||
/* Find the next free slot under hw.dri */
|
||||
i = 0;
|
||||
SLIST_FOREACH(oid, SYSCTL_CHILDREN(drioid), oid_link) {
|
||||
SYSCTL_FOREACH(oid, SYSCTL_CHILDREN(drioid), oid_link) {
|
||||
if (i <= oid->oid_arg2)
|
||||
i = oid->oid_arg2 + 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue