mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[PATCH] m68k: NULL noise removal
Signed-off-by: Al Viro <[email protected]> Cc: Roman Zippel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
031eb4cdde
commit
a5d361fc24
10 changed files with 16 additions and 16 deletions
|
|
@ -46,7 +46,7 @@ asmlinkage irqreturn_t floppy_hardint(int irq, void *dev_id,
|
|||
|
||||
static int virtual_dma_count=0;
|
||||
static int virtual_dma_residue=0;
|
||||
static char *virtual_dma_addr=0;
|
||||
static char *virtual_dma_addr=NULL;
|
||||
static int virtual_dma_mode=0;
|
||||
static int doing_pdma=0;
|
||||
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ static int sun3xflop_request_irq(void)
|
|||
|
||||
if(!once) {
|
||||
once = 1;
|
||||
error = request_irq(FLOPPY_IRQ, sun3xflop_hardint, SA_INTERRUPT, "floppy", 0);
|
||||
error = request_irq(FLOPPY_IRQ, sun3xflop_hardint, SA_INTERRUPT, "floppy", NULL);
|
||||
return ((error == 0) ? 0 : -1);
|
||||
} else return 0;
|
||||
}
|
||||
|
|
@ -238,7 +238,7 @@ static int sun3xflop_init(void)
|
|||
*sun3x_fdc.fcr_r = 0;
|
||||
|
||||
/* Success... */
|
||||
floppy_set_flags(0, 1, FD_BROKEN_DCL); // I don't know how to detect this.
|
||||
floppy_set_flags(NULL, 1, FD_BROKEN_DCL); // I don't know how to detect this.
|
||||
allowed_drive_mask = 0x01;
|
||||
return (int) SUN3X_FDC;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue