summaryrefslogtreecommitdiffstats
path: root/arch/m68k/atari/stdma.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-12-30 14:01:32 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2009-01-12 20:56:36 +0100
commit5b8b4c3d1b0ed4ccac3b1985acd0a973dfa00801 (patch)
tree86cb7eb9a8360df38349317fc28ac26d48fa309d /arch/m68k/atari/stdma.c
parentm68k: apollo core - Kill warn_unused_result warnings (diff)
downloadlinux-5b8b4c3d1b0ed4ccac3b1985acd0a973dfa00801.tar.xz
linux-5b8b4c3d1b0ed4ccac3b1985acd0a973dfa00801.zip
m68k: atari core - Kill warn_unused_result warnings
warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/atari/stdma.c')
-rw-r--r--arch/m68k/atari/stdma.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/m68k/atari/stdma.c b/arch/m68k/atari/stdma.c
index d1bd029a34ac..604329fafbb8 100644
--- a/arch/m68k/atari/stdma.c
+++ b/arch/m68k/atari/stdma.c
@@ -179,8 +179,9 @@ EXPORT_SYMBOL(stdma_islocked);
void __init stdma_init(void)
{
stdma_isr = NULL;
- request_irq(IRQ_MFP_FDC, stdma_int, IRQ_TYPE_SLOW | IRQF_SHARED,
- "ST-DMA: floppy/ACSI/IDE/Falcon-SCSI", stdma_int);
+ if (request_irq(IRQ_MFP_FDC, stdma_int, IRQ_TYPE_SLOW | IRQF_SHARED,
+ "ST-DMA: floppy/ACSI/IDE/Falcon-SCSI", stdma_int))
+ pr_err("Couldn't register ST-DMA interrupt\n");
}