Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2769195rwd; Mon, 22 May 2023 04:12:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4d5rAcqDXlhc+F3xsbSQRn9Mpr5Wy+BImPPbIZnSPdYDpUWZr6VeleIzu7odUxGBc/EYH2 X-Received: by 2002:a05:6a00:1413:b0:63b:19e5:a9ec with SMTP id l19-20020a056a00141300b0063b19e5a9ecmr13713484pfu.33.1684753978199; Mon, 22 May 2023 04:12:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684753978; cv=none; d=google.com; s=arc-20160816; b=MtX/BEdmbOYDcEoKphsM83yuHXltZ++oDXt5Q7yi+j7WZBDNlMD/06K7GxucTYpf6F kNbTBbVbBfcBpmhC+5Zjlo0uBSLANuMP0lKVSXLiWk3ceC9jGSsGjWAu/bpMFjblSp4n q/Qder4n+DASBTS73xqGR6T5d1d/y2uy/p63X1g3/Mq6J5u5/0TwWFT60+sQCoLnA/mP WgYW61hBpV43gZRyujAHxVEL9KYqHQN8F5WbVKM1n3BVjbPz2xPJQzLM1CBxIMIz0fhz I1wMJgTryvbgMv6bUOZGtGZVQMMXrQOSkEkkSrtbT6QMjwswTXN7Nj8GV8/GCK4EprzI ri8A== 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=Mhp4dDzKz7md9U7vaLxlSQvLfOTE4IcXqvMOwu7Kr5E=; b=WXikd2Vg9+C8dI8Q/K3S5kfLbVQvg4cgVhnREdkE2zcmhLzYBRnKpgkpp1YMQcXhw5 kkwqoTAjjCliXRXUDbVqksdt7Ml+a20s9DfpE4TjFmmKhI8jveB5x1ZwSpVZgFYzcuOj wuxOs944ntSpqoy2av3nGTk4y67PNlRdNrmsQ4WUi8j/N/kR+qIOj1dbQbLbhpZefEvc Vt7N+hzW+1tgUzKcPUbH1mIdCr89rfzhJA0IvPe0E5LTBkni2jpbFeEhtzH/ujTL3XsG GzHp9Y7mqmd9TPK3Epa1bpLaPj1IfQkzrQZ0W+SkP62y/7dBkhtS+C5rRx189hh274jf pI2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=X++cniHo; 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 d19-20020a621d13000000b0064d6d833af8si1726925pfd.97.2023.05.22.04.12.35; Mon, 22 May 2023 04:12: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=X++cniHo; 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 S233093AbjEVKyu (ORCPT + 99 others); Mon, 22 May 2023 06:54:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232933AbjEVKwp (ORCPT ); Mon, 22 May 2023 06:52:45 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FEC8FA; Mon, 22 May 2023 03:51:42 -0700 (PDT) Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34MAHWa7005775; Mon, 22 May 2023 10:51:29 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=Mhp4dDzKz7md9U7vaLxlSQvLfOTE4IcXqvMOwu7Kr5E=; b=X++cniHoujqeIh0qqXrDUl413t7AIGEz36Ju/lqmKyX4Q9SP9mUNXtMbFb12q+Nt/tHU UrBZpRU1Vz7Bb71y7sEYX9WlQfBtWNNQQ4jmD6tbFzRoYEIIusZRWG3Y8c1MJejNQNRj pTIJGlYvZOQA1ifPLRBi9Jn+bANC5sePyRGQOiJB8w48nmm/l4Fimrh7/ODepHkeDbe8 S+WkdGY7btg67CsDqfjA00JO1JFbUQddkzW/NmzujR/Fvo/4qptT62ilPAAJufJBHLuD uTxCrg5sHgacmVLL5aZi4QpF2bWAYEEEWngo9gMyk4U1riJjXp/ba99cxI/FPetO0Go4 7A== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qq78bh2sb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:29 +0000 Received: from m0356517.ppops.net (m0356517.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34M9JRIF024416; Mon, 22 May 2023 10:51:28 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 3qq78bh2qx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:28 +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 34M6KApL015110; Mon, 22 May 2023 10:51:25 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma05fra.de.ibm.com (PPS) with ESMTPS id 3qppbmgrw8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:25 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34MApNdA21693080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 May 2023 10:51:23 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id ECE5220043; Mon, 22 May 2023 10:51:22 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 926FA2004D; Mon, 22 May 2023 10:51:22 +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:51:22 +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 , linux-usb@vger.kernel.org Subject: [PATCH v5 36/44] usb: add HAS_IOPORT dependencies Date: Mon, 22 May 2023 12:50:41 +0200 Message-Id: <20230522105049.1467313-37-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: YpvmkpfA9MSJYdLIgFQ6GDm74CO4EwG_ X-Proofpoint-GUID: Gb6NxgDpaE6GtTZ4RrUa6QEgPxk_54ga 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 mlxscore=0 bulkscore=0 malwarescore=0 phishscore=0 impostorscore=0 priorityscore=1501 mlxlogscore=662 adultscore=0 lowpriorityscore=0 clxscore=1015 spamscore=0 suspectscore=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 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/usb/host/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index c170672f847e..4448d0ab06f0 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -376,7 +376,7 @@ config USB_ISP116X_HCD config USB_ISP1362_HCD tristate "ISP1362 HCD support" - depends on HAS_IOMEM + depends on HAS_IOPORT depends on COMPILE_TEST # nothing uses this help Supports the Philips ISP1362 chip as a host controller @@ -578,7 +578,7 @@ endif # USB_OHCI_HCD config USB_UHCI_HCD tristate "UHCI HCD (most Intel and VIA) support" - depends on USB_PCI || USB_UHCI_SUPPORT_NON_PCI_HC + depends on (USB_PCI && HAS_IOPORT) || USB_UHCI_SUPPORT_NON_PCI_HC help The Universal Host Controller Interface is a standard by Intel for accessing the USB hardware in the PC (which is also called the USB -- 2.39.2