ARM: PL011: Allow better handling of vendor data
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Dec 2010 17:48:26 +0000 (17:48 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 5 Jan 2011 16:58:44 +0000 (16:58 +0000)
commitc19f12b5ef3adf3c139eabbe3d3d0201838b77b1
tree8e4feb43846bb02a50132dc97d3a8d8cac8346ee
parent5063e2c567ee569cccfc01ebf80c898cb4e6833a
ARM: PL011: Allow better handling of vendor data

Rather than copying all vendor data into the port structure, copy
just that which is frequently used, and keep a pointer to the
remaining vendor data structure.  This makes it easier to add
vendor quirks in the future.

Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/amba-pl011.c