Skip to content

Commit 87bc3ba

Browse files
committed
Add a couple strong aliases that were intended but missed previously.
1 parent bc9ba0b commit 87bc3ba

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

sys/kern/subr_device.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: subr_device.c,v 1.17 2025/10/12 23:34:23 thorpej Exp $ */
1+
/* $NetBSD: subr_device.c,v 1.18 2025/10/13 14:41:40 thorpej Exp $ */
22

33
/*
44
* Copyright (c) 2006, 2021, 2025 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
2727
*/
2828

2929
#include <sys/cdefs.h>
30-
__KERNEL_RCSID(0, "$NetBSD: subr_device.c,v 1.17 2025/10/12 23:34:23 thorpej Exp $");
30+
__KERNEL_RCSID(0, "$NetBSD: subr_device.c,v 1.18 2025/10/13 14:41:40 thorpej Exp $");
3131

3232
#include <sys/param.h>
3333
#include <sys/device.h>
@@ -1024,6 +1024,7 @@ device_getprop_ ## name ## _default(device_t dev, const char *prop, \
10241024
*/
10251025
TEMPLATE(int32)
10261026
__strong_alias(device_getprop_int,device_getprop_int32);
1027+
__strong_alias(device_getprop_int_default,device_getprop_int32_default);
10271028

10281029

10291030
/*
@@ -1032,6 +1033,7 @@ __strong_alias(device_getprop_int,device_getprop_int32);
10321033
*/
10331034
TEMPLATE(uint32)
10341035
__strong_alias(device_getprop_uint,device_getprop_uint32);
1036+
__strong_alias(device_getprop_uint_default,device_getprop_uint32_default);
10351037

10361038
/*
10371039
* device_getprop_int64 --

0 commit comments

Comments
 (0)