diff options
Diffstat (limited to 'drivers/pci/setup-irq.c')
-rw-r--r-- | drivers/pci/setup-irq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/pci/setup-irq.c b/drivers/pci/setup-irq.c index 86106c44ce94..5ad4ee7d7b1e 100644 --- a/drivers/pci/setup-irq.c +++ b/drivers/pci/setup-irq.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * drivers/pci/setup-irq.c | 3 | * drivers/pci/setup-irq.c |
3 | * | 4 | * |
@@ -25,7 +26,7 @@ void pci_assign_irq(struct pci_dev *dev) | |||
25 | struct pci_host_bridge *hbrg = pci_find_host_bridge(dev->bus); | 26 | struct pci_host_bridge *hbrg = pci_find_host_bridge(dev->bus); |
26 | 27 | ||
27 | if (!(hbrg->map_irq)) { | 28 | if (!(hbrg->map_irq)) { |
28 | dev_dbg(&dev->dev, "runtime IRQ mapping not provided by arch\n"); | 29 | pci_dbg(dev, "runtime IRQ mapping not provided by arch\n"); |
29 | return; | 30 | return; |
30 | } | 31 | } |
31 | 32 | ||
@@ -55,7 +56,7 @@ void pci_assign_irq(struct pci_dev *dev) | |||
55 | } | 56 | } |
56 | dev->irq = irq; | 57 | dev->irq = irq; |
57 | 58 | ||
58 | dev_dbg(&dev->dev, "assign IRQ: got %d\n", dev->irq); | 59 | pci_dbg(dev, "assign IRQ: got %d\n", dev->irq); |
59 | 60 | ||
60 | /* Always tell the device, so the driver knows what is | 61 | /* Always tell the device, so the driver knows what is |
61 | the real IRQ to use; the device does not use it. */ | 62 | the real IRQ to use; the device does not use it. */ |