Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Adapt to proplib api changes
details: https://anonhg.NetBSD.org/src/rev/71dccc458e1c
branches: trunk
changeset: 935825:71dccc458e1c
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Thu Jul 09 22:45:54 2020 +0000
description:
Adapt to proplib api changes
diffstat:
sys/arch/x86/x86/x86_autoconf.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 7d0a344b4bd4 -r 71dccc458e1c sys/arch/x86/x86/x86_autoconf.c
--- a/sys/arch/x86/x86/x86_autoconf.c Thu Jul 09 22:40:14 2020 +0000
+++ b/sys/arch/x86/x86/x86_autoconf.c Thu Jul 09 22:45:54 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: x86_autoconf.c,v 1.83 2020/07/07 16:14:23 thorpej Exp $ */
+/* $NetBSD: x86_autoconf.c,v 1.84 2020/07/09 22:45:54 jdolecek Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: x86_autoconf.c,v 1.83 2020/07/07 16:14:23 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: x86_autoconf.c,v 1.84 2020/07/09 22:45:54 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -579,7 +579,7 @@
int i;
for (i = 0; imcsmb_device_permitlist[i] != NULL; i++) {
- prop_string_t pstr = prop_string_create_cstring_nocopy(
+ prop_string_t pstr = prop_string_create_nocopy(
imcsmb_device_permitlist[i]);
(void) prop_array_add(permitlist, pstr);
prop_object_release(pstr);
@@ -587,7 +587,7 @@
(void) prop_dictionary_set(props,
I2C_PROP_INDIRECT_DEVICE_PERMITLIST,
permitlist);
- (void) prop_dictionary_set_cstring_nocopy(props,
+ (void) prop_dictionary_set_string_nocopy(props,
I2C_PROP_INDIRECT_PROBE_STRATEGY,
I2C_PROBE_STRATEGY_NONE);
}
Home |
Main Index |
Thread Index |
Old Index