[PATCH v2] serial: pl011: Add Device Tree support to request DMA channels

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Apr 21 04:53:21 EDT 2013


On Sat, Apr 20, 2013 at 12:33:45PM +0200, Arnd Bergmann wrote:
> @@ -315,6 +325,7 @@ static void pl011_dma_probe_initcall(struct uart_amba_port *uap)
>  struct dma_uap {
>  	struct list_head node;
>  	struct uart_amba_port *uap;
> +	struct device *dev;

There is really no need for this.  This device is available via uap->port.dev.



More information about the linux-arm-kernel mailing list