diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2012-03-18 20:01:09 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-03-19 19:20:37 -0400 |
commit | bf362f750bea1372aff3b5c405b50560a1b28981 (patch) | |
tree | abd00c8eede4e3b32f5e1ef0f14f2668fcd02a2a /arch/alpha | |
parent | adfe39cd9195c35811e062578c4107db49d75436 (diff) |
constify struct pci_dev * in obvious cases
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/include/asm/machvec.h | 2 | ||||
-rw-r--r-- | arch/alpha/kernel/sys_dp264.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/alpha/include/asm/machvec.h b/arch/alpha/include/asm/machvec.h index 13cd42743810..72dbf2359270 100644 --- a/arch/alpha/include/asm/machvec.h +++ b/arch/alpha/include/asm/machvec.h | |||
@@ -90,7 +90,7 @@ struct alpha_machine_vector | |||
90 | void (*kill_arch)(int); | 90 | void (*kill_arch)(int); |
91 | 91 | ||
92 | u8 (*pci_swizzle)(struct pci_dev *, u8 *); | 92 | u8 (*pci_swizzle)(struct pci_dev *, u8 *); |
93 | int (*pci_map_irq)(struct pci_dev *, u8, u8); | 93 | int (*pci_map_irq)(const struct pci_dev *, u8, u8); |
94 | struct pci_ops *pci_ops; | 94 | struct pci_ops *pci_ops; |
95 | 95 | ||
96 | struct _alpha_agp_info *(*agp_info)(void); | 96 | struct _alpha_agp_info *(*agp_info)(void); |
diff --git a/arch/alpha/kernel/sys_dp264.c b/arch/alpha/kernel/sys_dp264.c index bb7f0c7cb17a..13f0717fc7fe 100644 --- a/arch/alpha/kernel/sys_dp264.c +++ b/arch/alpha/kernel/sys_dp264.c | |||
@@ -366,7 +366,7 @@ clipper_init_irq(void) | |||
366 | */ | 366 | */ |
367 | 367 | ||
368 | static int __init | 368 | static int __init |
369 | isa_irq_fixup(struct pci_dev *dev, int irq) | 369 | isa_irq_fixup(const struct pci_dev *dev, int irq) |
370 | { | 370 | { |
371 | u8 irq8; | 371 | u8 irq8; |
372 | 372 | ||