Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2746087rwd; Mon, 22 May 2023 03:52:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6XHlkOU5GKcNkgEkbCIkjS44/tDK22X1cGLjFDibFM1ZP4yNJhKOYBuRgTNvueaulmKJeh X-Received: by 2002:a05:6a20:4281:b0:101:4d10:e406 with SMTP id o1-20020a056a20428100b001014d10e406mr12968154pzj.16.1684752771405; Mon, 22 May 2023 03:52:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684752771; cv=none; d=google.com; s=arc-20160816; b=SAUc+jn9FwIAECcGKL7hgQ8VZME4+6kcUDLJ2+m/FVBG1hQSKKnS5AdhMt80BdYONl 1L0j8ydvxiUm88CiRZ4TsmOlZwOqKz0A2KnygHjPLPCqOqnRi9wSxpfShgNtUaY3gLXF 4aELyTNIJVFbRkyyRrU0yzZE+DNDiS4+nf/AWE5coc0mgmrTepvK6PS08pnmxtDdBruR ZRjEoyufOioK3iBIVKTlBDZDg7gQqUIPfBIayuDrAW8z+VRgIlshDSOg2tErscMFc5DM L+CQkzJ7MQt+q9+T1+hegDhGcBiivkH67lpWZZ5CT0KHPpBWbQkeCcbqzxrzOHHwy1+A NC5w== 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=Qjp5WmRB6pMZkB2MV3VuohUa5H77Y1Zh6kYqFrJDkEI=; b=kSyLbAHYMUjl5Om52vdHWaVaouIZvFuJyX+msFfbKZVDDznoZOcY/igicfS3ksb1eN m8sAz49Xh6n+bEsXvy6y7xg235fKp5HAoCenJbqp3r9lLCEiWae1qV28QgpZk5BQNf2S LrLfEEF9DqB6MRaz57NL2FS5N5sc0pWoMBaxVjBX5isrUzWEp9y8K5MswTLBiDwLpaCf 6X6VYVDG4eJsR3CtBZgc3XXf6p0yTW60zSBRB6om9l8cg6ZdTC3kjQPxiP/j1eopDXtA 5R/UCIzB/EkQyG7WfFTTPkhVlal67nQnUQalaEdfyQhO3UGZeusdHlLfEJYy1XOBqQZ/ eXbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=g0F7EJmR; 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 s15-20020a63af4f000000b005211941267asi4493567pgo.153.2023.05.22.03.52.36; Mon, 22 May 2023 03:52:51 -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=g0F7EJmR; 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 S232758AbjEVKvR (ORCPT + 99 others); Mon, 22 May 2023 06:51:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbjEVKvL (ORCPT ); Mon, 22 May 2023 06:51:11 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30A0BDC; Mon, 22 May 2023 03:51:09 -0700 (PDT) Received: from pps.filterd (m0353723.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34M8qMms022853; Mon, 22 May 2023 10:50:57 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=Qjp5WmRB6pMZkB2MV3VuohUa5H77Y1Zh6kYqFrJDkEI=; b=g0F7EJmRriStYFJ0NRJJvAbDKhX8XrnsCaTuU2P7IE3QYxYLcXX69i+VyU0PYTRizNH4 7eIX9KBDcgTNV3AofICxrIb3mwqqsYY2Ud+qFFSO54CU2CtxuaH/6/KoYs8dV7yeAQsg aUINTt/Yn6PAjYcZegHK0Lt2hJFw7MKTI9QrVdhA/mEVFtnIax/eSzUcQmQZsfPptjNv cJ7bGhGiYLUpA0kd6L7hIjlP05xeXbTt74HXosU5EzcxUDsmfdoVmJygz6Jxy0zHNYhx RMt+8kefZRqeW6saLZUNmJ87zB3T6SRxrHpsga6Y5lYgZ4VJY0+Qurs3DJGwZ3I3QCe4 Fw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqd3tc918-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:50:57 +0000 Received: from m0353723.ppops.net (m0353723.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34MAg1c1018836; Mon, 22 May 2023 10:50:56 GMT Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqd3tc90n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:50:56 +0000 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34M8UAIW022273; Mon, 22 May 2023 10:50:54 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma04fra.de.ibm.com (PPS) with ESMTPS id 3qppcf0rtk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:50:54 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34MAoqdg23003846 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 May 2023 10:50:52 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 516A420040; Mon, 22 May 2023 10:50:52 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EF6C72004B; Mon, 22 May 2023 10:50:51 +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:51 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Greg Kroah-Hartman Cc: 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 Subject: [PATCH v5 03/44] char: add HAS_IOPORT dependencies Date: Mon, 22 May 2023 12:50:08 +0200 Message-Id: <20230522105049.1467313-4-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: yx45th0kOCQ38F5l-gjYQ6uMdaIMysqb X-Proofpoint-GUID: TfzigNbNyI8rIaldclqcDxJkNnlUA0kj 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 suspectscore=0 malwarescore=0 clxscore=1015 mlxscore=0 bulkscore=0 spamscore=0 mlxlogscore=999 impostorscore=0 adultscore=0 lowpriorityscore=0 priorityscore=1501 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 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: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/char/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 801d6c83f896..625af75833fc 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -34,6 +34,7 @@ config TTY_PRINTK_LEVEL config PRINTER tristate "Parallel printer support" depends on PARPORT + depends on HAS_IOPORT || PARPORT_NOT_PC help If you intend to attach a printer to the parallel port of your Linux box (as opposed to using a serial printer; if the connector at the @@ -340,7 +341,7 @@ config NVRAM config DEVPORT bool "/dev/port character device" - depends on ISA || PCI + depends on HAS_IOPORT default y help Say Y here if you want to support the /dev/port device. The /dev/port -- 2.39.2