From 8a56ddde27c0a20f66939ed36867470ae5d6a3be Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Mon, 11 May 2015 15:47:55 +0000 Subject: [PATCH] Add the ofw_bus_subr.h change missed in r282770. --- sys/dev/ofw/ofw_bus_subr.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/ofw/ofw_bus_subr.h b/sys/dev/ofw/ofw_bus_subr.h index 53a609b5fa3..d2740dd94fb 100644 --- a/sys/dev/ofw/ofw_bus_subr.h +++ b/sys/dev/ofw/ofw_bus_subr.h @@ -101,4 +101,7 @@ const struct ofw_compat_data * /* Helper routine for checking existence of a prop */ int ofw_bus_has_prop(device_t, const char *); +/* Helper to search for a child with a given compat prop */ +phandle_t ofw_bus_find_compatible(phandle_t, const char *); + #endif /* !_DEV_OFW_OFW_BUS_SUBR_H_ */