summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRichard Henderson <rth@kanga.twiddle.net>2003-02-18 19:26:58 -0800
committerRichard Henderson <rth@kanga.twiddle.net>2003-02-18 19:26:58 -0800
commita968ee1f9fef1034a00a09ac8501e15e7bdc8842 (patch)
treeb69732b206f535db0a7eca30eca44bff3cd811e8 /arch
parent86e72865d687f8a0652609a7d63c722beb5f4e32 (diff)
[ALPHA] Collection of warning fixes.
Diffstat (limited to 'arch')
-rw-r--r--arch/alpha/kernel/sys_sable.c2
-rw-r--r--arch/alpha/kernel/sys_wildfire.c2
2 files changed, 2 insertions, 2 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;