m68k: Use IS_ENABLED() instead of checking for built-in or module
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
@@ -162,7 +162,7 @@ void __init config_mac(void)
|
||||
mach_halt = mac_poweroff;
|
||||
mach_power_off = mac_poweroff;
|
||||
mach_max_dma_address = 0xffffffff;
|
||||
#if defined(CONFIG_INPUT_M68K_BEEP) || defined(CONFIG_INPUT_M68K_BEEP_MODULE)
|
||||
#if IS_ENABLED(CONFIG_INPUT_M68K_BEEP)
|
||||
mach_beep = mac_mksound;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user