From: Will Newton Date: Tue, 5 Feb 2008 06:27:50 +0000 (-0800) Subject: 8250.c: support specifying DW APB UARTs in device platform_data X-Git-Tag: v2.6.25-rc1~1023 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74a197417240120d638d67d74f48655fb7f46f16;p=pandora-kernel.git 8250.c: support specifying DW APB UARTs in device platform_data Allow 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. Signed-off-by: Will Newton Acked-by: Alan Cox Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed