Change from PCI name to generic device name.
-- Brian Gerst
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; }
- 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/
This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:19 EST