summaryrefslogtreecommitdiffstats
path: root/arch/m68k/sun3
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2015-12-18 12:44:28 +1100
committerGeert Uytterhoeven <geert@linux-m68k.org>2016-01-10 13:56:40 +0100
commit2d522618c8d13abe87f8203dcb115bfcc555f88b (patch)
tree203422ff6343784c820f3755d14e923c9887019c /arch/m68k/sun3
parentea8d65ad69587cf4f37662ae294ee61eeed8f706 (diff)
downloadlinux-2d522618c8d13abe87f8203dcb115bfcc555f88b.tar.bz2
m68k/atari, m68k/sun3: Fix SCSI platform device registration when driver is modular
Fixes: 3ff228af84b5 ("atari_scsi: Convert to platform device") Fixes: 0d31f8759109 ("sun3_scsi: Convert to platform device") Reported-by: Michael Schmitz <schmitzmic@gmail.com> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/sun3')
-rw-r--r--arch/m68k/sun3/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/sun3/config.c b/arch/m68k/sun3/config.c
index a8b942bf7163..3f06a5d01fbc 100644
--- a/arch/m68k/sun3/config.c
+++ b/arch/m68k/sun3/config.c
@@ -171,7 +171,7 @@ static void __init sun3_sched_init(irq_handler_t timer_routine)
intersil_clear();
}
-#ifdef CONFIG_SUN3_SCSI
+#if IS_ENABLED(CONFIG_SUN3_SCSI)
static const struct resource sun3_scsi_vme_rsrc[] __initconst = {
{