Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp232493pxa; Tue, 4 Aug 2020 04:20:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymGFogvPC2G3ptsobRQbsoMK4cYg9m5O+tgdW5o9BCaDjujHXxneGaVgkVCqOf3UE7AueJ X-Received: by 2002:a05:6402:3096:: with SMTP id de22mr20483776edb.371.1596540004933; Tue, 04 Aug 2020 04:20:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596540004; cv=none; d=google.com; s=arc-20160816; b=NwfDMZXsS7/POix5oT0wWvCkkRyib4HbNszI60clp2Z4S0ZQ1LtBRbfLfCpkXMND9G h9d7DhJL1IcDI5woYMGP1ktXvEPzysyJJ2GE2z86bCwVzwMI3kxAZVqu/sr8G7EsQHz9 C7qXR7s4Xkl83WUT3s6mmQPMQoOgegJnWCcfTXh8NiQ4X02PRGXF3okgRo8nJDic+IYn 159FsaSIwby5/tMzEBtHwTI/rtqkU3Sy3LvWrAcizzhoVHjhEwnH0Xyl9vSjDPlCvTIj FspBHnZyOMhv6nHqagpCg8V2FuE1g0xzCc8aqulGY8H5davsps1SMcevGGpSXmhAhSJd NvBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:mail-followup-to:message-id:subject:cc:to:from:date; bh=KDGJxoe6g5TCVs4aUFdTOTOitxsDblWfhTRz40mVtcI=; b=fY0PIXy6Z5GMWfYkq/DSsnA7RQY8e/f087jRGg7zFOCdUUDASZCtFDNt1Hk/hoXrVc U5Z+hELjSbXX1HIYigQLJedyIJs0la5fsJyZXJeVy1a5LqfhyitZKNkcQUFYVVH9mPRA TFdHtTMt6T3Z6BEmeeAajB1wWtnUA+/48Cz88osJlxzdDCjvS8iqlGgFkVclFIYl2qgl MVEUf/r3g379nJ0NEyDuM867Q8FWyIzvXpHZxsyJtrfHzfde3NSjMA5/HmmDm0Ig4kyP zUz/KqKvYFdUrL8mMVYHZd5upDmw+XtNPBBC0vHg3Zo9tVJg7Wi+LrCPuqj4BrwK1NXJ UOSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t28si12160218edt.38.2020.08.04.04.19.42; Tue, 04 Aug 2020 04:20:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728216AbgHDLT1 (ORCPT + 99 others); Tue, 4 Aug 2020 07:19:27 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:46426 "EHLO hera.aquilenet.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730012AbgHDLOm (ORCPT ); Tue, 4 Aug 2020 07:14:42 -0400 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 \