* @brief Return non-zero if the DF_ENABLED flag is set on the device */
| 2688 | * @brief Return non-zero if the DF_ENABLED flag is set on the device |
| 2689 | */ |
| 2690 | int |
| 2691 | device_is_enabled(device_t dev) |
| 2692 | { |
| 2693 | return ((dev->flags & DF_ENABLED) != 0); |
| 2694 | } |
| 2695 | |
| 2696 | /** |
| 2697 | * @brief Return non-zero if the device was successfully probed |