Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ofw update comment to match new reality



details:   https://anonhg.NetBSD.org/src/rev/cf10516819fd
branches:  trunk
changeset: 958795:cf10516819fd
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Jan 20 00:41:15 2021 +0000

description:
update comment to match new reality

diffstat:

 sys/dev/ofw/ofw_subr.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 1ee34e73ce89 -r cf10516819fd sys/dev/ofw/ofw_subr.c
--- a/sys/dev/ofw/ofw_subr.c    Tue Jan 19 22:12:44 2021 +0000
+++ b/sys/dev/ofw/ofw_subr.c    Wed Jan 20 00:41:15 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ofw_subr.c,v 1.42 2021/01/18 02:35:49 thorpej Exp $    */
+/*     $NetBSD: ofw_subr.c,v 1.43 2021/01/20 00:41:15 jmcneill Exp $   */
 
 /*
  * Copyright 1998
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw_subr.c,v 1.42 2021/01/18 02:35:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw_subr.c,v 1.43 2021/01/20 00:41:15 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -225,7 +225,8 @@
 }
 
 /*
- * const struct of_compat_data *of_search_compatible(phandle, compat_data)
+ * const struct device_compatible_entry *of_search_compatible(phandle,
+ *                                                           compat_data)
  *
  * This routine searches an array of compat_data structures for a
  * matching "compatible" entry matching the supplied OFW node.



Home | Main Index | Thread Index | Old Index