From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id B413A1C074E; Tue, 4 Aug 2020 07:14:10 -0400 (EDT) Received: from hera.aquilenet.fr (hera.aquilenet.fr [185.233.100.1]) by befuddled.reisers.ca (Postfix) with ESMTPS id 9F89A1C0858 for ; Tue, 4 Aug 2020 07:13:34 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id B4613DB76; Tue, 4 Aug 2020 13:13:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pl8Jk5nyrYj5; Tue, 4 Aug 2020 13:13:33 +0200 (CEST) Received: from function (lfbn-bor-1-797-11.w86-234.abo.wanadoo.fr [86.234.239.11]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 208D51866; Tue, 4 Aug 2020 13:13:33 +0200 (CEST) Received: from samy by function with local (Exim 4.94) (envelope-from ) id 1k2usu-001aKA-9s; Tue, 04 Aug 2020 13:13:32 +0200 Date: Tue, 4 Aug 2020 13:13:32 +0200 From: Samuel Thibault To: linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org Cc: speakup@linux-speakup.org Subject: [PATCH 2/2] speakup: only build serialio when ISA is enabled Message-ID: <20200804111332.dex7jobmabifdzw5@function> Mail-Followup-To: Samuel Thibault , linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, speakup@linux-speakup.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170609 (1.8.3) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2020 11:14:10 -0000 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 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 \