]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SERIAL] serial_cs: convert multi-port table to quirk table
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 16 Sep 2006 20:09:41 +0000 (21:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Oct 2006 16:06:23 +0000 (17:06 +0100)
commit1fbbac4bcb03033d325c71fc7273aa0b9c1d9a03
tree55e38dd44ab03cd6b1c97f9939aaa829b68676c2
parent43549ad7a74e33947f3ba1756a7713086d32e97c
[SERIAL] serial_cs: convert multi-port table to quirk table

- rename multi_id table to serial_quirk / quirks[]
- use named initialisers
- store a pointer to the quirk table in the serial_info structure
  so we can use the quirk table entry later.
- apply multi-port quirk after the multi-port guessing code,
  but only if it's != -1.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/serial_cs.c