sys/kern/subr_bus.c
/**
 * @brief Return the current devclass for the device or @c NULL if
 * there is none.
 */
@brief Return the current devclass for the device or @c NULL if
there is none.
@brief Return the current devclass for the device or @c NULL if there is none .
devclass_t
device_get_devclass(device_t dev)
{
	return (dev->devclass);
}
devclass_t device_get_devclass ( device_t dev ) { return ( dev -> devclass ) ; }
@brief Return the current devclass for the device or @c NULL if
 there is none.
@brief Return the current devclass for the device or @c NULL if there is none .