* @brief Wrapper function for BUS_GET_RESOURCE(). * * This function simply calls the BUS_GET_RESOURCE() method of the * parent of @p dev. */
| 4831 | * parent of @p dev. |
| 4832 | */ |
| 4833 | int |
| 4834 | bus_get_resource(device_t dev, int type, int rid, |
| 4835 | rman_res_t *startp, rman_res_t *countp) |
| 4836 | { |
| 4837 | return (BUS_GET_RESOURCE(device_get_parent(dev), dev, type, rid, |
| 4838 | startp, countp)); |
| 4839 | } |
| 4840 | |
| 4841 | /** |
| 4842 | * @brief Wrapper function for BUS_GET_RESOURCE(). |
no test coverage detected