[PATCH] Emu10k1 gameport fix

Brian Gerst (bgerst@didntduck.org)
Sun, 17 Nov 2002 12:44:23 -0500


This is a multi-part message in MIME format.
--------------070407050706090908030408
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Change from PCI name to generic device name.

--
				Brian Gerst

--------------070407050706090908030408 Content-Type: text/plain; name="emugp-name-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="emugp-name-1"

diff -urN -X scripts/dontdiff linux-2.5.47-bk3/drivers/input/gameport/emu10k1-gp.c linux/drivers/input/gameport/emu10k1-gp.c --- linux-2.5.47-bk3/drivers/input/gameport/emu10k1-gp.c Mon Oct 14 19:47:27 2002 +++ linux/drivers/input/gameport/emu10k1-gp.c Sun Nov 17 11:46:25 2002 @@ -84,7 +84,7 @@ emu->dev = pdev; emu->gameport.io = ioport; - emu->gameport.name = pdev->name; + emu->gameport.name = pdev->dev.name; emu->gameport.phys = emu->phys; emu->gameport.id.bustype = BUS_PCI; emu->gameport.id.vendor = pdev->vendor; @@ -95,7 +95,7 @@ gameport_register_port(&emu->gameport); printk(KERN_INFO "gameport: %s at pci%s speed %d kHz\n", - pdev->name, pdev->slot_name, emu->gameport.speed); + emu->gameport.name, pdev->slot_name, emu->gameport.speed); return 0; }

--------------070407050706090908030408--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/