Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ofw G/C of_match_compatible().
details: https://anonhg.NetBSD.org/src/rev/b90131462468
branches: trunk
changeset: 980209:b90131462468
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Jan 27 04:55:42 2021 +0000
description:
G/C of_match_compatible().
diffstat:
sys/dev/ofw/ofw_subr.c | 16 ++--------------
sys/dev/ofw/openfirm.h | 3 +--
2 files changed, 3 insertions(+), 16 deletions(-)
diffs (54 lines):
diff -r aa2ff1bc0cc7 -r b90131462468 sys/dev/ofw/ofw_subr.c
--- a/sys/dev/ofw/ofw_subr.c Wed Jan 27 04:54:08 2021 +0000
+++ b/sys/dev/ofw/ofw_subr.c Wed Jan 27 04:55:42 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofw_subr.c,v 1.54 2021/01/27 03:10:21 thorpej Exp $ */
+/* $NetBSD: ofw_subr.c,v 1.55 2021/01/27 04:55:42 thorpej Exp $ */
/*
* Copyright 1998
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw_subr.c,v 1.54 2021/01/27 03:10:21 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw_subr.c,v 1.55 2021/01/27 04:55:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -130,18 +130,6 @@
}
/*
- * int of_match_compatible(phandle, strings)
- *
- * This function is equivalent to of_compatible(), and its use
- * is deprecated.
- */
-int
-of_match_compatible(int phandle, const char * const *strings)
-{
- return of_compatible(phandle, strings);
-}
-
-/*
* int of_compatible_match(phandle, compat_data)
*
* This routine searches an array of device_compatible_entry structures
diff -r aa2ff1bc0cc7 -r b90131462468 sys/dev/ofw/openfirm.h
--- a/sys/dev/ofw/openfirm.h Wed Jan 27 04:54:08 2021 +0000
+++ b/sys/dev/ofw/openfirm.h Wed Jan 27 04:55:42 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: openfirm.h,v 1.43 2021/01/27 03:10:21 thorpej Exp $ */
+/* $NetBSD: openfirm.h,v 1.44 2021/01/27 04:55:42 thorpej Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -106,7 +106,6 @@
struct device_compatible_entry;
int of_compatible(int, const char * const *);
-int of_match_compatible(int, const char * const *);
int of_compatible_match(int, const struct device_compatible_entry *);
const struct device_compatible_entry *
of_compatible_lookup(int, const struct device_compatible_entry *);
Home |
Main Index |
Thread Index |
Old Index