8250_pci: fix pch uart matching
authorArnaud Patard <apatard@hupstream.com>
Wed, 25 Apr 2012 10:17:24 +0000 (12:17 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 30 May 2012 23:43:32 +0000 (00:43 +0100)
commitc5e293a570af8a020a8b2e261021eb44a9579f58
tree8c6f6f46d9c773f6e9a6091905b94809f7dff9e8
parent7569109b102712a5b04d5be7820d54f8dad93b90
8250_pci: fix pch uart matching

commit aaa10eb1d0034eccc096f583fe308f0921617598 upstream.

The rules used to make 8250_pci "ignore" the PCH uarts are lacking pci subids
entries, preventing it to match and thus is breaking serial port support for
theses systems.

This has been tested on a nanoETXexpress-TT, which has a specifici uart clock.

Tested-by: Erwan Velu <Erwan.Velu@zodiacaerospace.com>
Signed-off-by: Arnaud Patard <apatard@hupstream.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/tty/serial/8250_pci.c