Commit acf154f6 authored by David S. Miller's avatar David S. Miller

[INPUT]: Use pci_name() in pcips2 driver.

parent 4f778e73
...@@ -153,7 +153,7 @@ static int __devinit pcips2_probe(struct pci_dev *dev, const struct pci_device_i ...@@ -153,7 +153,7 @@ static int __devinit pcips2_probe(struct pci_dev *dev, const struct pci_device_i
ps2if->io.write = pcips2_write; ps2if->io.write = pcips2_write;
ps2if->io.open = pcips2_open; ps2if->io.open = pcips2_open;
ps2if->io.close = pcips2_close; ps2if->io.close = pcips2_close;
ps2if->io.name = dev->dev.name; ps2if->io.name = pci_name(dev);
ps2if->io.phys = dev->dev.bus_id; ps2if->io.phys = dev->dev.bus_id;
ps2if->io.driver = ps2if; ps2if->io.driver = ps2if;
ps2if->dev = dev; ps2if->dev = dev;
......
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