[rtems-libbsd commit] DEVICE(9): Enable bus_enumerate_hinted_children()

Sebastian Huber sebh at rtems.org
Mon Nov 11 09:02:10 UTC 2013


Module:    rtems-libbsd
Branch:    master
Commit:    3fd1b1e80796b39dffeeec7b5efc5cd40884f66f
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=3fd1b1e80796b39dffeeec7b5efc5cd40884f66f

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Nov  6 08:26:11 2013 +0100

DEVICE(9): Enable bus_enumerate_hinted_children()

---

 freebsd/sys/kern/subr_bus.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/freebsd/sys/kern/subr_bus.c b/freebsd/sys/kern/subr_bus.c
index 78a803e..f58e2a7 100644
--- a/freebsd/sys/kern/subr_bus.c
+++ b/freebsd/sys/kern/subr_bus.c
@@ -4434,7 +4434,6 @@ driver_module_handler(module_t mod, int what, void *arg)
 	return (error);
 }
 
-#ifndef __rtems__
 /**
  * @brief Enumerate all hinted devices for this bus.
  *
@@ -4468,7 +4467,6 @@ bus_enumerate_hinted_children(device_t bus)
 	while (resource_find_match(&i, &dname, &dunit, "at", busname) == 0)
 		BUS_HINTED_CHILD(bus, dname, dunit);
 }
-#endif /* __rtems__ */
 
 #ifdef BUS_DEBUG
 




More information about the vc mailing list