diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-12-04 21:08:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-10 23:04:38 -0800 |
commit | 3f6e48597b2ad8e81852407319fabd6ed4665add (patch) | |
tree | 471e28b150e4153fe997e813b6950e2fa434a93e /net/802 | |
parent | 4455d9fd48093d27c95a802071c9dca9f79d8fff (diff) |
parport: parport_pc: fix id print of a device
Since commit 7106b4e3 ("8250: Oxford Semiconductor Devices") the debug
print of the device id does no longer match the real device if it is
located in the "enum" behind oxsemi_pcie_pport. The reason is that the
code assumes that each id contains one entry in the PCI table.
The fix is to lookup the currently used id from the id-> parameter.
Cc: Lee Howard <lee.howard@mainpine.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions