/* Remove the hcd structure, and release resources that has been requested during probe.  */
static int ehci_hcd_xilinx_of_remove(struct of_device *op)
/* Remove the hcd structure, and release resources that has been requested during probe.  */
static int ehci_hcd_xilinx_of_remove(struct of_device *op)
{
	struct usb_hcd *hcd = dev_get_drvdata(&op->dev);
	dev_set_drvdata(&op->dev, NULL);
	dev_dbg(&op->dev, "stopping XILINX-OF USB Controller\n");
	usb_remove_hcd(hcd);
	iounmap(hcd->regs);
	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
	usb_put_hcd(hcd);
	return 0;
}