git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PCI: Make the struct pci_dev * argument of pci_fixup_irqs const.
[sfrench/cifs-2.6.git]
/
arch
/
arm
/
mach-ixp4xx
/
wg302v2-pci.c
diff --git
a/arch/arm/mach-ixp4xx/wg302v2-pci.c
b/arch/arm/mach-ixp4xx/wg302v2-pci.c
index 17f3cf59a31beb95e6651c6c01aa0de070709090..f27dfcfe811b122dc6f7e971a484d419ee50f5c4 100644
(file)
--- a/
arch/arm/mach-ixp4xx/wg302v2-pci.c
+++ b/
arch/arm/mach-ixp4xx/wg302v2-pci.c
@@
-35,7
+35,7
@@
void __init wg302v2_pci_preinit(void)
ixp4xx_pci_preinit();
}
-static int __init wg302v2_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
+static int __init wg302v2_map_irq(
const
struct pci_dev *dev, u8 slot, u8 pin)
{
if (slot == 1)
return IRQ_IXP4XX_GPIO8;