diff options
Diffstat (limited to 'drivers/input/gameport/ns558.c')
-rw-r--r-- | drivers/input/gameport/ns558.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/gameport/ns558.c b/drivers/input/gameport/ns558.c index 2b282cde4b89..db556b71ddda 100644 --- a/drivers/input/gameport/ns558.c +++ b/drivers/input/gameport/ns558.c | |||
@@ -226,7 +226,7 @@ static int ns558_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *did) | |||
226 | ns558->gameport = port; | 226 | ns558->gameport = port; |
227 | 227 | ||
228 | gameport_set_name(port, "NS558 PnP Gameport"); | 228 | gameport_set_name(port, "NS558 PnP Gameport"); |
229 | gameport_set_phys(port, "pnp%s/gameport0", dev->dev.bus_id); | 229 | gameport_set_phys(port, "pnp%s/gameport0", dev_name(&dev->dev)); |
230 | port->dev.parent = &dev->dev; | 230 | port->dev.parent = &dev->dev; |
231 | port->io = ioport; | 231 | port->io = ioport; |
232 | 232 | ||