Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

speakup: only build serialio when ISA is enabled

Drivers using serialio were already made available in Kconfig only under
the ISA condition.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20200804160659.7y76sdseow43lfms@function
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Samuel Thibault and committed by
Greg Kroah-Hartman
dfe650be 2b86d9b8

+10 -5
+9 -4
drivers/accessibility/speakup/Kconfig
··· 42 42 one of the listed synthesizers, you should say n. 43 43 44 44 if SPEAKUP 45 + 46 + config SPEAKUP_SERIALIO 47 + def_bool y 48 + depends on ISA || COMPILE_TEST 49 + 45 50 config SPEAKUP_SYNTH_ACNTSA 46 51 tristate "Accent SA synthesizer support" 47 52 help ··· 57 52 58 53 config SPEAKUP_SYNTH_ACNTPC 59 54 tristate "Accent PC synthesizer support" 60 - depends on ISA || COMPILE_TEST 55 + depends on SPEAKUP_SERIALIO 61 56 help 62 57 This is the Speakup driver for the accent pc 63 58 synthesizer. You can say y to build it into the kernel, ··· 109 104 110 105 config SPEAKUP_SYNTH_DECPC 111 106 depends on m 112 - depends on ISA || COMPILE_TEST 107 + depends on SPEAKUP_SERIALIO 113 108 tristate "DECtalk PC (big ISA card) synthesizer support" 114 109 help 115 110 ··· 132 127 133 128 config SPEAKUP_SYNTH_DTLK 134 129 tristate "DoubleTalk PC synthesizer support" 135 - depends on ISA || COMPILE_TEST 130 + depends on SPEAKUP_SERIALIO 136 131 help 137 132 138 133 This is the Speakup driver for the internal DoubleTalk ··· 143 138 144 139 config SPEAKUP_SYNTH_KEYPC 145 140 tristate "Keynote Gold PC synthesizer support" 146 - depends on ISA || COMPILE_TEST 141 + depends on SPEAKUP_SERIALIO 147 142 help 148 143 149 144 This is the Speakup driver for the Keynote Gold
+1 -1
drivers/accessibility/speakup/Makefile
··· 25 25 keyhelp.o \ 26 26 kobjects.o \ 27 27 selection.o \ 28 - serialio.o \ 29 28 spk_ttyio.o \ 30 29 synth.o \ 31 30 thread.o \ 32 31 varhandlers.o 32 + speakup-$(CONFIG_SPEAKUP_SERIALIO) += serialio.o