/* @osdp: Pointer to structure that will receive the currently selected OSD device. Return: 0 if OK, -ve on error  */
static int osd_get_osd_cur(struct udevice **osdp)
/* @osdp: Pointer to structure that will receive the currently selected OSD device. Return: 0 if OK, -ve on error  */
static int osd_get_osd_cur(struct udevice **osdp)
{
	if (!osd_cur) {
		puts("No osd selected\n");
		return -ENODEV;
	}
	*osdp = osd_cur;
	return 0;
}