Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp215736iob; Mon, 2 May 2022 17:28:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJze9KE3bu26c56EAA4rB1XT96MRChnUnxsIBsUv/VLAhjbG92hSHGpqyjNlO5t4Cr1PGlV/ X-Received: by 2002:a05:6a00:1a89:b0:50d:fee4:cdb1 with SMTP id e9-20020a056a001a8900b0050dfee4cdb1mr3672158pfv.85.1651537712278; Mon, 02 May 2022 17:28:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651537712; cv=none; d=google.com; s=arc-20160816; b=XRLmzVqgnHMunuhhgd1u3BCQ2oKpyZeD/F0Oa/KI8sV3jsFaYQohwrj3Ldc/kVdNhG 8ATfhqhn7DVDoyZibkS/qMgYHtpauvXEtVs42YGCnJS+pXHjCOov5Czs1jbTuRxNbjw9 8sgUamWDD6Qa/Cpkg0Ss/En0zE0cRs7ygQEqC+lrJgXlLMaLFxwI4sM2CldnBWv5LalH ib/Hut8hm1zHNr91gbRLAgFYXWK0XZhPzb9hkZLP6SuxLEfzYydLGqqS5yj4sbFWYl5X uPv6zeC8VDlyhrpE13orwS8lNRCSfhu3rKa1Q/d+tFXW9EQHQsq34OsBPRwq+g2NlBUG Xu4Q== 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=lple0/vy5UIAmnZlIa+ROtV3fS9nU0RinoZ4jiQ/hf8=; b=SvBJYPhFwqwvjg6dRpZ4OWY/n6OvOumqnBGm41Wb2GSPws7d29xCxqqlf3ewNBgcmC DjzlqFzIuDfoxcBmoUbEvxUBE0PJsnNgxZ7wUgQMhgoNwqKNWPfUJ/fWtkftoEZpN50e KTsTDtlTPL87y9R/GDTrsCLTcQlv5TGcF/aqy3tn12hQC5WaoN0W1gqcyAVC5UhmCj0R JxPcnQyegSYuT7Euwgdz/AfIohxq2DpDNglqdMW+BZA/Aq57MYAscXRouuLvdxw4LcAX yZkxfmUz3MWT4qmY0piUJTdYW16IRX5rofp4hzNLS5z23ljJrIU/KA6QPAzepR14ZVGQ 514A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=PmF1nMOf; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x19-20020a170902e05300b00158e7ff4c26si13634134plx.514.2022.05.02.17.28.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:28:32 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=PmF1nMOf; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4D8333ED02; Mon, 2 May 2022 17:23:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376643AbiD2N56 (ORCPT + 99 others); Fri, 29 Apr 2022 09:57:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376716AbiD2N4W (ORCPT ); Fri, 29 Apr 2022 09:56:22 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 807DDCD321; Fri, 29 Apr 2022 06:51:48 -0700 (PDT) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TCc4wO016936; Fri, 29 Apr 2022 13:51:44 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=lple0/vy5UIAmnZlIa+ROtV3fS9nU0RinoZ4jiQ/hf8=; b=PmF1nMOf7HweJyAdh4aTGz9KhdG40YSPoX8pDP2x2uJCjJXQFMwhqXHQOwA0IYIVSG4T D0R2mrykR+iecOe8YHxPbZqcqKbxair3PtqgbgJ7QhhjRuJdTO4zfOUnv3qVWn0QN4c8 0p/n/eNXPKK8laD1pMU+LafSR5TDeeNo7U8MK2DFyy9NSaKT18vjtGXF402PN64YbAd+ xD1dk+FrMqhSNUf9s2ojsKjvjlkwIia7VOl0D6m6sHUNNGFJsNBJHg8iK4KmMZupLnv4 CvqwDdun9ChvNaTVT5XaCiBOOYqN0zh3x5cpoYbhi8f188Aom1T1JOkGN4ASSB3wr7Sp UQ== Received: from ppma03fra.de.ibm.com (6b.4a.5195.ip4.static.sl-reverse.com [149.81.74.107]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqqtnsus0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:44 +0000 Received: from pps.filterd (ppma03fra.de.ibm.com [127.0.0.1]) by ppma03fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TDRmK7013383; Fri, 29 Apr 2022 13:51:42 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma03fra.de.ibm.com with ESMTP id 3fm938yatk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:42 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TDcVG953608780 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:38:31 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C9ABB4C04A; Fri, 29 Apr 2022 13:51:39 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 841544C044; Fri, 29 Apr 2022 13:51:39 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 29 Apr 2022 13:51:39 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , Jiri Slaby , linux-serial@vger.kernel.org (open list:SERIAL DRIVERS) Subject: [PATCH 29/37] tty: serial: add HAS_IOPORT dependencies Date: Fri, 29 Apr 2022 15:50:50 +0200 Message-Id: <20220429135108.2781579-53-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220429135108.2781579-1-schnelle@linux.ibm.com> References: <20220429135108.2781579-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 3o8NjHDKLAVtNYE6KvcJT6uaoBePvFNq X-Proofpoint-GUID: 3o8NjHDKLAVtNYE6KvcJT6uaoBePvFNq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-29_06,2022-04-28_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 adultscore=0 impostorscore=0 malwarescore=0 suspectscore=0 phishscore=0 priorityscore=1501 spamscore=0 clxscore=1011 mlxlogscore=995 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204290078 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. We thus need to add HAS_IOPORT as dependency for those drivers using them. Co-developed-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/tty/Kconfig | 2 +- drivers/tty/serial/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/Kconfig b/drivers/tty/Kconfig index cc30ff93e2e4..e31cbd88f5a0 100644 --- a/drivers/tty/Kconfig +++ b/drivers/tty/Kconfig @@ -203,7 +203,7 @@ config MOXA_INTELLIO config MOXA_SMARTIO tristate "Moxa SmartIO support v. 2.0" - depends on SERIAL_NONSTANDARD && PCI + depends on SERIAL_NONSTANDARD && PCI && HAS_IOPORT help Say Y here if you have a Moxa SmartIO multiport serial card and/or want to help develop a new version of this driver. diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 6949e883ffab..32c946adb023 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -909,7 +909,7 @@ config SERIAL_VR41XX_CONSOLE config SERIAL_JSM tristate "Digi International NEO and Classic PCI Support" - depends on PCI + depends on PCI && HAS_IOPORT select SERIAL_CORE help This is a driver for Digi International's Neo and Classic series -- 2.32.0