]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SERIAL] Pass around serial_private instead of pci_dev
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 27 Jul 2005 10:34:27 +0000 (11:34 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 Jul 2005 10:34:27 +0000 (11:34 +0100)
commit70db3d91a5228c98603c55fa06c87184a1f9f6db
tree498c6d2d46467753b59a808e2e65a4e51a0d145c
parent67d74b870725448e0108984eec551609771e6b73
[SERIAL] Pass around serial_private instead of pci_dev

Pass the serial_private structure via the setup method instead of
the pci_dev.  We don't want to assume that the pci_dev's driver
data is a pointer to serial_private.  Instead, put the pci_dev
inside serial_private.

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