fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / asm-parisc / floppy.h
index 47f53df..da2f9c1 100644 (file)
@@ -156,13 +156,11 @@ static int vdma_get_dma_residue(unsigned int dummy)
 static int fd_request_irq(void)
 {
        if(can_use_virtual_dma)
-               return request_irq(FLOPPY_IRQ, floppy_hardint,SA_INTERRUPT,
-                                                  "floppy", NULL);
+               return request_irq(FLOPPY_IRQ, floppy_hardint,
+                                  IRQF_DISABLED, "floppy", NULL);
        else
                return request_irq(FLOPPY_IRQ, floppy_interrupt,
-                                                  SA_INTERRUPT|SA_SAMPLE_RANDOM,
-                                                  "floppy", NULL);     
-
+                                  IRQF_DISABLED, "floppy", NULL);
 }
 
 static unsigned long dma_mem_alloc(unsigned long size)
@@ -235,7 +233,7 @@ static int hard_dma_setup(char *addr, unsigned long size, int mode, int io)
        return 0;
 }
 
-struct fd_routine_l {
+static struct fd_routine_l {
        int (*_request_dma)(unsigned int dmanr, const char * device_id);
        void (*_free_dma)(unsigned int dmanr);
        int (*_get_dma_residue)(unsigned int dummy);