Re: [PATCH] Support specifying DW APB UARTSs in deviceplatform_data

From: Alan Cox
Date: Thu Dec 20 2007 - 16:46:45 EST


On Thu, 20 Dec 2007 14:48:45 +0000
"Will Newton" <will.newton@xxxxxxxxx> wrote:

> This patch allows the private_data field to be specified in
> platform_data for the standard 8250/16550 UART. This field is used by
> DW APB type UARTs and without this patch it's only possible to set
> this field when registering the port by hand. If private_data is not
> set then the
> driver will potentially oops with a NULL pointer dereference.


Fine by me.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/