* @brief Wrapper function for BUS_GET_DOMAIN(). * * This function simply calls the BUS_GET_DOMAIN() method of the * parent of @p dev. */
| 5064 | * parent of @p dev. |
| 5065 | */ |
| 5066 | int |
| 5067 | bus_get_domain(device_t dev, int *domain) |
| 5068 | { |
| 5069 | return (BUS_GET_DOMAIN(device_get_parent(dev), dev, domain)); |
| 5070 | } |
| 5071 | |
| 5072 | /* Resume all devices and then notify userland that we're up again. */ |
| 5073 | static int |
no test coverage detected