summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/leon_pci_grpci2.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/leon_pci_grpci2.c')
-rw-r--r--arch/sparc/kernel/leon_pci_grpci2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/leon_pci_grpci2.c b/arch/sparc/kernel/leon_pci_grpci2.c
index 44dc093ee33a..fad1bd07cb56 100644
--- a/arch/sparc/kernel/leon_pci_grpci2.c
+++ b/arch/sparc/kernel/leon_pci_grpci2.c
@@ -215,7 +215,7 @@ struct grpci2_priv {
DEFINE_SPINLOCK(grpci2_dev_lock);
struct grpci2_priv *grpci2priv;
-int grpci2_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
+int grpci2_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
struct grpci2_priv *priv = dev->bus->sysdata;
int irq_group;