diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-09-05 13:18:15 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-09-19 11:29:45 +0200 |
commit | a1a9e88f708fc1c5602cbe9761f246c6acbc27cd (patch) | |
tree | 774f6b727141b4bd22e3ff97e778084b9d3911b5 /arch/m68k/kernel | |
parent | 986d80466712c0e8878c05328b5b5e7775c53003 (diff) | |
download | op-kernel-dev-a1a9e88f708fc1c5602cbe9761f246c6acbc27cd.zip op-kernel-dev-a1a9e88f708fc1c5602cbe9761f246c6acbc27cd.tar.gz |
m68k: Use IS_ENABLED() instead of checking for built-in or module
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel')
-rw-r--r-- | arch/m68k/kernel/setup_mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/kernel/setup_mm.c b/arch/m68k/kernel/setup_mm.c index 5b8ec4d..50633c3 100644 --- a/arch/m68k/kernel/setup_mm.c +++ b/arch/m68k/kernel/setup_mm.c @@ -105,7 +105,7 @@ EXPORT_SYMBOL(mach_heartbeat); #ifdef CONFIG_M68K_L2_CACHE void (*mach_l2_flush) (int); #endif -#if defined(CONFIG_INPUT_M68K_BEEP) || defined(CONFIG_INPUT_M68K_BEEP_MODULE) +#if IS_ENABLED(CONFIG_INPUT_M68K_BEEP) void (*mach_beep)(unsigned int, unsigned int); EXPORT_SYMBOL(mach_beep); #endif |