From patchwork Tue Mar 14 12:12:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 69574 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1721749wrd; Tue, 14 Mar 2023 05:17:59 -0700 (PDT) X-Google-Smtp-Source: AK7set90XcxOQlpP3INeRfD8izP5Yoos5QXc2FVGh0WVROHyl+LlRUoeX5Ehktmucvql3cmfqaPS X-Received: by 2002:a62:1911:0:b0:625:4470:6064 with SMTP id 17-20020a621911000000b0062544706064mr3727658pfz.0.1678796279015; Tue, 14 Mar 2023 05:17:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678796278; cv=none; d=google.com; s=arc-20160816; b=IyGuSpNakz5fSa/mxQIxE2Kqpj3PQ7Grb5yNoUbPdNHDhQeSk1Bpo4/1v9J4girGbO rUpIvlB7KkflNOlPd3HKquiD+8RfgcP1383F5U//tBegnjHDnBKqfnOOovJgyOb1e2Eo 2KI9xYjolPz0LSEMsAS8/CoKxf30hAgR8u5i5rEAE3RP4nYVNLi9cihblxr6dEg1ppkw ovQ0T5at8l6JRGvmAFC9l2e6zKIbSUH+obiHEOzHKwddcNqpoGS2QDwzJ+AjQh3WjX3N 1VJnOV5n4D/UbtCYsvKDTHhYFeV7FYMF2t3GM760uVLB66DDAEVYMFY3APa9j9Fm6ajE 7qlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9gcpyDT+X8Vv7jhMz+EEb2gGfAloFhzs2Z7TYYrJ3Fs=; b=Bl/1a1lB4PlaAmm5ckZue8E/NSQZftYERKsQd8ow3qC4v7e1LM9GSMiIkm6rJtyf2x 8X+fl7pa52y3AJC6maBsksBI+b4Bt0yFoezGRj3p0p/iusCbC0Wh5koCPjSYK9ydCVrk v+VWpH4fJ/o8gOErvGNSw9374ePYJeh8V/efld4Gjud7W6353s3lz6t/yfeKxnNMMZLu dT/12YvbMz5HwCquJop9po52mvC/6nkMkZVtwmuLtTNG1dIm7oE+W1aPHS/okn4u3Yw8 Y9bsq4MQ1+GMtlorc+sfnD5iLJYaUa9E1pC6fggTxXHbRwl8vRZWdcQhQcEKtxN/LQRI 9VOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=swH8h4h+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q32-20020a631f60000000b004fd51160160si1989392pgm.130.2023.03.14.05.17.43; Tue, 14 Mar 2023 05:17:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=swH8h4h+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231863AbjCNMQS (ORCPT + 99 others); Tue, 14 Mar 2023 08:16:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231984AbjCNMO4 (ORCPT ); Tue, 14 Mar 2023 08:14:56 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04F6DA17F9; Tue, 14 Mar 2023 05:13:49 -0700 (PDT) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32EC1e72020154; Tue, 14 Mar 2023 12:12:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=9gcpyDT+X8Vv7jhMz+EEb2gGfAloFhzs2Z7TYYrJ3Fs=; b=swH8h4h+TdLPw7xPtyUsZGxY9doZnl553/czqSc0Um9jnYSQiRWFOSWYsEXEoGk9K422 i/m350FAMk0ufALQa/9XsR5tx1GBoK7z7+vVypc7iIDv+VI7GKqbImXnaNMplYQOZwCD vpYDKIFCXTFG2j01sDh5j8SGP22XGoPqTpiMa9z5OWWD3v90rTH+5iBm0ZkufQ7mV6wb FwYB5frjGIj1XgqFgkPJnhqenh0TC8kA2/NgxCv5vA+5Xa1pRf8tXs9FxYqZT+hOED4g VwtrQEkGZOSRiNEL7+1mdxvx3OIPeb5IKjT3Gf2E/4Rfs8KkIJOpg8qUoJEHJvijnu12 aA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3papenbxwc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:55 +0000 Received: from m0098420.ppops.net (m0098420.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 32EAFwfY004699; Tue, 14 Mar 2023 12:12:54 GMT Received: from ppma01fra.de.ibm.com (46.49.7a9f.ip4.static.sl-reverse.com [159.122.73.70]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3papenbxvg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:54 +0000 Received: from pps.filterd (ppma01fra.de.ibm.com [127.0.0.1]) by ppma01fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 32E8baSA017716; Tue, 14 Mar 2023 12:12:52 GMT Received: from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230]) by ppma01fra.de.ibm.com (PPS) with ESMTPS id 3p8h96ksfv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:52 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay06.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 32ECCoMf21431024 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Mar 2023 12:12:50 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E30C82007D; Tue, 14 Mar 2023 12:12:49 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5DCB02007C; Tue, 14 Mar 2023 12:12:49 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 Mar 2023 12:12:49 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , William Hubbs , Chris Brannon , Kirk Reiser , Samuel Thibault Cc: Greg Kroah-Hartman , Bjorn Helgaas , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Mauro Carvalho Chehab , Alan Stern , "Rafael J. Wysocki" , Geert Uytterhoeven , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , speakup@linux-speakup.org Subject: [PATCH v3 31/38] speakup: add HAS_IOPORT dependency for SPEAKUP_SERIALIO Date: Tue, 14 Mar 2023 13:12:09 +0100 Message-Id: <20230314121216.413434-32-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230314121216.413434-1-schnelle@linux.ibm.com> References: <20230314121216.413434-1-schnelle@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: P9KU2UWRjC6x6iRR_qxEMTEVBLHEl1xI X-Proofpoint-GUID: 17rixfsariO2vLYbbL6HkYnwVhCFzbzu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-14_06,2023-03-14_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1011 priorityscore=1501 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303140103 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760345487301892871?= X-GMAIL-MSGID: =?utf-8?q?1760345487301892871?= In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. SPEAKUP_SERIALIO thus needs to depend on HAS_IOPORT. Reviewed-by: Samuel Thibault Co-developed-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/accessibility/speakup/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/accessibility/speakup/Kconfig b/drivers/accessibility/speakup/Kconfig index 07ecbbde0384..e84fb617acc4 100644 --- a/drivers/accessibility/speakup/Kconfig +++ b/drivers/accessibility/speakup/Kconfig @@ -46,6 +46,7 @@ if SPEAKUP config SPEAKUP_SERIALIO def_bool y depends on ISA || COMPILE_TEST + depends on HAS_IOPORT config SPEAKUP_SYNTH_ACNTSA tristate "Accent SA synthesizer support"