Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2746131rwd; Mon, 22 May 2023 03:52:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7M69SRO9l/a3u9cABdftt7yGpzf3sD6RF/ZLcJ+BbYO82vhH6SjCuJxlzmL/sJEfb8EN2x X-Received: by 2002:a17:903:1d1:b0:1a1:d54b:71df with SMTP id e17-20020a17090301d100b001a1d54b71dfmr11446521plh.0.1684752775191; Mon, 22 May 2023 03:52:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684752775; cv=none; d=google.com; s=arc-20160816; b=IutkVkIJMd/wXG+3cm5yPhix6lp/F4C5zBWrJtlse0VXqC/OBVTVf3uvlDfMdxbwfb R4P2tlTiXJi+EB6i1vybjmBvKsrfycDcR4R6a5v9aNgQMmEJf/Dp8Rw5zOJH47rcjvYS nzAjfbDE6GHMVN7ITtjPfMM5Z6G2PempjIoDGLqoQVGSP7jv57hyNFbnGo2OitBAxh7G PpqXefQFlpdr7YhKlFOGYP1y1OQJi4k37bA3euwfV5fnjJRaNuYD0MVc8raqe+nBan2T rAYLO3yyTJJHqC8s1/9Kejo8l0+liiusqo8gK8jRgc+gvvxCy+vYz+VXh1VG5x8b5ESW DEEA== 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=KZODcN/68pucAtB6yhvQdZSii47ySjovUePWb2frXok=; b=hTFfbNVGm8+8GXJuDtCXrEw8/OW8czaPVuBV00lrU45hJlIwC//gveC2Y4gQl9/hgO jePBAI4+fqgFB6ec1NI5tNAxe93W+yYjtThh5bdvFMQ9iJZ10ZHNQL0I5+wQQIQPmxUD DgbFLfvYXO9ow3C266lCyDfsyPTXpiRl2cIRNzyqbRRbg+coOPfeEcMXZrc9qLLjhYd9 GbvZW/FrvS4Gv5KzUIIDqHwCC+uoOhJAG82woidZ6IFW9+qbMDx8vYfqQ693GH3NTOYr VU2VETCLhUYeZrgn2Unf7TZvqTik7smrh4OWfn4wI5nc7YrYMg77JKF28Z6WdPlzYXNs Ysaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=hIIlT0ub; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s10-20020a170902ea0a00b001a1d987fe28si4690532plg.405.2023.05.22.03.52.42; Mon, 22 May 2023 03:52:55 -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=hIIlT0ub; 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 S232833AbjEVKvX (ORCPT + 99 others); Mon, 22 May 2023 06:51:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232717AbjEVKvM (ORCPT ); Mon, 22 May 2023 06:51:12 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAFE9B3; Mon, 22 May 2023 03:51:11 -0700 (PDT) Received: from pps.filterd (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34MALoVY001973; Mon, 22 May 2023 10:51:02 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=KZODcN/68pucAtB6yhvQdZSii47ySjovUePWb2frXok=; b=hIIlT0ublwxKHATx35e+JHsfmF1KlGFhwxc++Z6dXcMoOkoErvCJa7ewPFkJ2LC9eeE8 0VuxcVeP2dxWjypKnUV52/VT1XWZmekAMJO5qjPT9dHA3RfVrxgOGV64qjByKvawdTvd G5v/7sXmkHgUsoC86zRrgUqBHzFJDjjlWG148vL4UbPgc+mclWGfMElAChpa3D0Fo72n DIVniRyarOfnkfLcnl8MdhvnOUUIFdaXOv2PhZcQXusXk/JCJuDErfxGcpCvjDLxWNIN MxYVRGvhG+Mb5gWkQyPfk1B8hXOed0QjeKureD6l0bxTA7hYxRo3pAkJrLo45dxe3duT yg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqfq39qqk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:01 +0000 Received: from m0356516.ppops.net (m0356516.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34MAGxaD013765; Mon, 22 May 2023 10:51:00 GMT Received: from ppma05fra.de.ibm.com (6c.4a.5195.ip4.static.sl-reverse.com [149.81.74.108]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqfq39qq0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:00 +0000 Received: from pps.filterd (ppma05fra.de.ibm.com [127.0.0.1]) by ppma05fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34M9F41k022284; Mon, 22 May 2023 10:50:58 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma05fra.de.ibm.com (PPS) with ESMTPS id 3qppbmgrw0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:50:58 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34MAou0C46203208 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 May 2023 10:50:56 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EE74D2004B; Mon, 22 May 2023 10:50:55 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8A1A820043; Mon, 22 May 2023 10:50:55 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 22 May 2023 10:50:55 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , William Breathitt Gray Cc: Greg Kroah-Hartman , Bjorn Helgaas , =?UTF-8?q?Uwe=20Kleine-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 , linux-iio@vger.kernel.org Subject: [PATCH v5 07/44] counter: add HAS_IOPORT_MAP dependency Date: Mon, 22 May 2023 12:50:12 +0200 Message-Id: <20230522105049.1467313-8-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230522105049.1467313-1-schnelle@linux.ibm.com> References: <20230522105049.1467313-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: vYdA6UYAVCOawQjfOPea7DHOtaLe0C6G X-Proofpoint-GUID: YCYFAG5eO9AlINRhKXRiMNiwhaSnZUL- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-22_06,2023-05-22_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxlogscore=999 priorityscore=1501 adultscore=0 lowpriorityscore=0 mlxscore=0 spamscore=0 suspectscore=0 malwarescore=0 impostorscore=0 clxscore=1015 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305220089 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, T_SCC_BODY_TEXT_LINE 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 The 104_QUAD_8 counter driver uses devm_ioport_map() without depending on HAS_IOPORT_MAP. This means the driver is not usable on platforms such as s390 which do not support I/O port mapping. Add the missing HAS_IOPORT_MAP dependency to make this explicit. Co-developed-by: Arnd Bergmann Signed-off-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/counter/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig index 4228be917038..e65a2bf178b8 100644 --- a/drivers/counter/Kconfig +++ b/drivers/counter/Kconfig @@ -15,6 +15,7 @@ if COUNTER config 104_QUAD_8 tristate "ACCES 104-QUAD-8 driver" depends on (PC104 && X86) || COMPILE_TEST + depends on HAS_IOPORT_MAP select ISA_BUS_API help Say yes here to build support for the ACCES 104-QUAD-8 quadrature -- 2.39.2