]> git.hungrycats.org Git - linux/commitdiff
[ALPHA] Collection of warning fixes.
authorRichard Henderson <rth@kanga.twiddle.net>
Wed, 19 Feb 2003 03:26:58 +0000 (19:26 -0800)
committerRichard Henderson <rth@kanga.twiddle.net>
Wed, 19 Feb 2003 03:26:58 +0000 (19:26 -0800)
arch/alpha/kernel/sys_sable.c
arch/alpha/kernel/sys_wildfire.c
include/asm-alpha/machvec.h

index a7d1db738c9bb57259f1eb2d8e43fa083211daa1..6284470c7074dfdff5306fea1a8f64116b31dd96 100644 (file)
@@ -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;
 }
 
index 2169c5249d55b39f7b3dfc48528b267c81746015..35b0f4c6f489a6777d55db5de2a7934a3677979e 100644 (file)
@@ -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;
index c236284f2daedad862c51b0edfba7e197ea5ab6d..6d1b408e3ed5ba8e64aefefaf369209f6ceb8d78 100644 (file)
@@ -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;