/* media_find - locates specified media object by name  */
static struct media* media_find(const char *name)
/* media_find - locates specified media object by name  */
static struct media* media_find(const char *name)
{
	struct media *m_ptr;
	u32 i;
	for (i = 0, m_ptr = media_list; i < media_count; i++, m_ptr++) {
		if (!strcmp(m_ptr->name, name))
			return m_ptr;
	}
	return NULL;
}