/* early_platform_match @epdrv: early platform driver structure @id: id to match against  */
static __init struct platform_device* early_platform_match(struct early_platform_driver *epdrv, int id)
/* early_platform_match @epdrv: early platform driver structure @id: id to match against  */
static __init struct platform_device* early_platform_match(struct early_platform_driver *epdrv, int id)
{
	struct platform_device *pd;
	list_for_each_entry(pd, &early_platform_device_list, dev.devres_head)
		if (platform_match(&pd->dev, &epdrv->pdrv->driver))
			if (pd->id == id)
				return pd;
	return NULL;
}