From patchwork Tue Mar 14 12:12:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 69598 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1731239wrd; Tue, 14 Mar 2023 05:38:28 -0700 (PDT) X-Google-Smtp-Source: AK7set/7E5ZetJL/U5JRnFGi5WviDhrvn/wzhpvckK+cD3PPLiGS0PUeoaVlRj8a7enBWpYf/fSy X-Received: by 2002:a05:6a20:1616:b0:c7:1821:1b7d with SMTP id l22-20020a056a20161600b000c718211b7dmr46485513pzj.2.1678797508147; Tue, 14 Mar 2023 05:38:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678797508; cv=none; d=google.com; s=arc-20160816; b=sV5/BYgX7zXGaj2rARL0HNQs9pIvAp00GVK9v6x/INjNDyGzSVh2IW4ocCowD7uYnA kq51Ei4B1Mxka9rXB4IYoNSVGfECUg5PnKSP+bkPKj/kYp6TviU77gpeShzQTx5RfyLu IZwj8dwDaP43OKu/8G6JbYHohpwRaL4BCeQ899gKvOAaM9nexu0o+m8l+Z7uJeb1SvZa yfZLiAt2vUlO14p4zN1IbyNL5lMKTycvQ/VrE/D05te6dHIO42nTMm914wLZv0cH74A+ tv+R3/brUTISCGv/rENYTv3k8SAe4p7yxAid6y/MBsgrmIzFD0r3va+J1MIdkBeyYQIq 5jGQ== 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=110L6We+tErq++uBNoBN1uJF511fqR2i9Hu6nLMCfFM=; b=tJZRwFRsCEYavjxBdMJnb7+gZOcGy0VE/dS07coexyEDann9uhjWDWrUAMopHli4Vs vp68xv+XrrpQr9aA1TVZ8VLdqENqCcaLpaIhfkWatuIu/bbh0k2lJwNeSK7bCbbHi7ls fKYKMUJmatrmsLrDJTQu//JNjXRV+uYzuZzflDn5lqoGZCXnev5EGEtHDTQJOtpq39ve R/h43Ie3Bl1KTZeIjS4g1HZmC69fdtbcvcGyQJ75H/xGZA0olztJqQgeDI+FX4vpOT+e qvMjikv66Vs/P7vg3VvJ0dY15/nFE5qH0Qcglx1LZwnYTEpkDvtH6jkf9oQDn3autJ4S 6BCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="Mt6Rr/j3"; 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 z2-20020a656642000000b004fbd1f7eae3si2053763pgv.149.2023.03.14.05.38.15; Tue, 14 Mar 2023 05:38:28 -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="Mt6Rr/j3"; 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 S232002AbjCNMQH (ORCPT + 99 others); Tue, 14 Mar 2023 08:16:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231947AbjCNMOv (ORCPT ); Tue, 14 Mar 2023 08:14:51 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0E6FA17D2; Tue, 14 Mar 2023 05:13:44 -0700 (PDT) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32EC4se3026408; Tue, 14 Mar 2023 12:12: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=110L6We+tErq++uBNoBN1uJF511fqR2i9Hu6nLMCfFM=; b=Mt6Rr/j3t3w4ggzEwsdRu1l72SgDSPQfveO9/1GuYZNxoMYKTAOv53duIONjuIv33MOw suJ0O+gdtwALXiKXnChkZiq/eYFNUY2Wag43GscIFCJ7TFtLlBVK13oJbt5g8q4FaYnM HPuMupg7W7sdP82ijz6fRlBV5urIDIceHgyyf4Yl9Y8gzWbsQL1QDweAR1kOjGbeojIr rvaPOx6U1H5F2z3LqlCUcm7vExNWYMEgsCc5ZcKVxiJOXVJ4n6jMZVV2xA3mm5sPzk9X FMzyR01Biu0nINqkwYEoXRHSArPGnYJkLQaBnL9+hkawLLVBslJVy9m9smhKU0PU9DQ/ mQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3paptr3cfn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:56 +0000 Received: from m0098396.ppops.net (m0098396.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 32EBMXcC008392; Tue, 14 Mar 2023 12:12: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 3paptr3ce1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:55 +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 32E5qENP020629; Tue, 14 Mar 2023 12:12:53 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma04fra.de.ibm.com (PPS) with ESMTPS id 3p8h96krsr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:53 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 32ECCoU65571078 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Mar 2023 12:12:51 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CC7462007C; Tue, 14 Mar 2023 12:12:50 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 515642007A; Tue, 14 Mar 2023 12:12:50 +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:50 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Sudip Mukherjee , Teddy Wang , Greg Kroah-Hartman , Forest Bond Cc: 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 , linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH v3 32/38] staging: add HAS_IOPORT dependencies Date: Tue, 14 Mar 2023 13:12:10 +0100 Message-Id: <20230314121216.413434-33-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-GUID: hnkazr0opZd4QQF523POHF3UESF0GPSK X-Proofpoint-ORIG-GUID: S73sDsYIGFdLK5od1hDfJyvEahioh_Rb 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_04,2023-03-14_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 clxscore=1011 malwarescore=0 suspectscore=0 adultscore=0 mlxlogscore=990 mlxscore=0 spamscore=0 bulkscore=0 impostorscore=0 phishscore=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,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?1760346776171301820?= X-GMAIL-MSGID: =?utf-8?q?1760346776171301820?= 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/staging/sm750fb/Kconfig | 2 +- drivers/staging/vt6655/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/sm750fb/Kconfig b/drivers/staging/sm750fb/Kconfig index 1461c89701c3..ab3d9b057d56 100644 --- a/drivers/staging/sm750fb/Kconfig +++ b/drivers/staging/sm750fb/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 config FB_SM750 tristate "Silicon Motion SM750 framebuffer support" - depends on FB && PCI + depends on FB && PCI && HAS_IOPORT select FB_MODE_HELPERS select FB_CFB_FILLRECT select FB_CFB_COPYAREA diff --git a/drivers/staging/vt6655/Kconfig b/drivers/staging/vt6655/Kconfig index d1cd5de46dcf..077f62ebe80c 100644 --- a/drivers/staging/vt6655/Kconfig +++ b/drivers/staging/vt6655/Kconfig @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 config VT6655 tristate "VIA Technologies VT6655 support" - depends on PCI && MAC80211 && m + depends on PCI && HAS_IOPORT && MAC80211 && m help This is a vendor-written driver for VIA VT6655.