diff options
| -rw-r--r-- | arch/alpha/kernel/sys_sable.c | 2 | ||||
| -rw-r--r-- | arch/alpha/kernel/sys_wildfire.c | 2 | ||||
| -rw-r--r-- | include/asm-alpha/machvec.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/alpha/kernel/sys_sable.c b/arch/alpha/kernel/sys_sable.c index a7d1db738c9b..6284470c7074 100644 --- a/arch/alpha/kernel/sys_sable.c +++ b/arch/alpha/kernel/sys_sable.c @@ -268,7 +268,7 @@ sable_map_irq(struct pci_dev *dev, u8 slot, u8 pin) { 32+3, 32+3, 32+3, 32+3, 32+3}, /* IdSel 7, slot 1 */ { 32+4, 32+4, 32+4, 32+4, 32+4}, /* IdSel 8, slot 2 */ }; - const long min_idsel = 0, max_idsel = 8, irqs_per_slot = 5; + long min_idsel = 0, max_idsel = 8, irqs_per_slot = 5; return COMMON_TABLE_LOOKUP; } diff --git a/arch/alpha/kernel/sys_wildfire.c b/arch/alpha/kernel/sys_wildfire.c index 2169c5249d55..35b0f4c6f489 100644 --- a/arch/alpha/kernel/sys_wildfire.c +++ b/arch/alpha/kernel/sys_wildfire.c @@ -314,7 +314,7 @@ wildfire_map_irq(struct pci_dev *dev, u8 slot, u8 pin) { 56, 56, 56+1, 56+2, 56+3}, /* IdSel 6 PCI 1 slot 6 */ { 60, 60, 60+1, 60+2, 60+3}, /* IdSel 7 PCI 1 slot 7 */ }; - const long min_idsel = 0, max_idsel = 7, irqs_per_slot = 5; + long min_idsel = 0, max_idsel = 7, irqs_per_slot = 5; struct pci_controller *hose = dev->sysdata; int irq = COMMON_TABLE_LOOKUP; diff --git a/include/asm-alpha/machvec.h b/include/asm-alpha/machvec.h index c236284f2dae..6d1b408e3ed5 100644 --- a/include/asm-alpha/machvec.h +++ b/include/asm-alpha/machvec.h @@ -34,7 +34,7 @@ struct alpha_machine_vector int nr_irqs; int rtc_port; - int max_asn; + unsigned int max_asn; unsigned long max_isa_dma_address; unsigned long irq_probe_mask; unsigned long iack_sc; |
