From: Sebastian Andrzej Siewior Date: Wed, 4 Dec 2013 20:08:55 +0000 (+0100) Subject: parport: parport_pc: fix id print of a device X-Git-Tag: v3.14-rc1~152^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f6e48597b2ad8e81852407319fabd6ed4665add;p=pandora-kernel.git 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 Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed