mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-14 18:22:56 +00:00
[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>
This commit is contained in:
parent
67d74b8707
commit
70db3d91a5
1 changed files with 22 additions and 18 deletions
Loading…
Add table
Add a link
Reference in a new issue