/* Release the memory region(s) being used by 'port'.  */
static void imx_release_port(struct uart_port *port)
/* Release the memory region(s) being used by 'port'.  */
static void imx_release_port(struct uart_port *port)
{
	struct platform_device *pdev = to_platform_device(port->dev);
	struct resource *mmres;
	mmres = platform_get_resource(pdev, IORESOURCE_MEM, 0);
	release_mem_region(mmres->start, mmres->end - mmres->start + 1);
}