]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/pci/setup-irq.c
kobjects: fix up improper use of the kobject name field
[karo-tx-linux.git] / drivers / pci / setup-irq.c
index 568f1877315c5532d39052e4e615f1304a48cb93..05ca2ed9eb51fdc24340a3244a087e4680ae86ce 100644 (file)
@@ -48,7 +48,7 @@ pdev_fixup_irq(struct pci_dev *dev,
        dev->irq = irq;
 
        pr_debug("PCI: fixup irq: (%s) got %d\n",
-               dev->dev.kobj.name, dev->irq);
+               kobject_name(&dev->dev.kobj), dev->irq);
 
        /* Always tell the device, so the driver knows what is
           the real IRQ to use; the device does not use it. */