Commit 8edb233c authored by Brian Gerst's avatar Brian Gerst Committed by Linus Torvalds

[PATCH] Emu10k1 gameport fix

Change from PCI name to generic device name.
parent 42804358
......@@ -84,7 +84,7 @@ static int __devinit emu_probe(struct pci_dev *pdev, const struct pci_device_id
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 @@ static int __devinit emu_probe(struct pci_dev *pdev, const struct pci_device_id
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);
pdev->dev.name, pdev->slot_name, emu->gameport.speed);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment