public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* [PATCH 2/2] speakup: only build serialio when ISA is enabled
@  Samuel Thibault
       [not found] ` <20200804113413.GA181242@kroah.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Thibault @  UTC (permalink / raw)
  To: linux-kernel, gregkh; +Cc: speakup

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

This solves warnings in inb/outb macros on platform that do not have 
support for ISA.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

Index: linux-2.6/drivers/accessibility/speakup/Makefile
===================================================================
--- linux-2.6.orig/drivers/accessibility/speakup/Makefile
+++ linux-2.6/drivers/accessibility/speakup/Makefile
@@ -16,6 +16,7 @@ obj-$(CONFIG_SPEAKUP_SYNTH_TXPRT) += spe
 obj-$(CONFIG_SPEAKUP_SYNTH_DUMMY) += speakup_dummy.o
 
 obj-$(CONFIG_SPEAKUP) += speakup.o
+obj-$(CONFIG_ISA) += serialio.o
 speakup-y := \
 	buffers.o \
 	devsynth.o \
@@ -25,7 +26,6 @@ speakup-y := \
 	keyhelp.o \
 	kobjects.o \
 	selection.o \
-	serialio.o \
 	spk_ttyio.o \
 	synth.o \
 	thread.o \

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 [PATCH 2/2] speakup: only build serialio when ISA is enabled Samuel Thibault
     [not found] ` <20200804113413.GA181242@kroah.com>
   ` Samuel Thibault
     [not found]     ` <20200804115817.GC203147@kroah.com>
       ` Samuel Thibault
     [not found]         ` <20200804154952.GB495852@kroah.com>
           ` Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).