]> git.karo-electronics.de Git - karo-tx-linux.git/commit
serial: 8250_pci: add .probe member to struct pci_serial_quirk
authorFrédéric Brière <fbriere@fbriere.net>
Sun, 29 May 2011 19:08:03 +0000 (15:08 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 16:35:56 +0000 (09:35 -0700)
commit5bf8f501e05930364b345ed8710c5b1a13207134
treed90861301e0c78a83bfc4575b9401dce05146a5b
parent7808edcd306f22aeb23775d34e70b7fa2f58b852
serial: 8250_pci: add .probe member to struct pci_serial_quirk

This function, if present, is called early on by the 8250_pci probe; it
can be used to reject devices meant for parport_serial.  (The .init
function cannot be used for this purpose, as it is also called by
parport_serial.)

Signed-off-by: Frédéric Brière <fbriere@fbriere.net>
Acked-by: Alan Cox <alan@linux.intel.com>
Cc: linux-serial@vger.kernel.org
Cc: linux-parport@lists.infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/8250_pci.c