Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2763798rwd; Mon, 22 May 2023 04:08:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4rgOrZ8LUYD183502x+/2AzNEjPo8bgmr2HhWwaJg8dCNtGYLymNElmhIgJ8U2UOtFXRZ9 X-Received: by 2002:a05:6a21:339f:b0:10b:3b4d:8c16 with SMTP id yy31-20020a056a21339f00b0010b3b4d8c16mr4912677pzb.38.1684753715181; Mon, 22 May 2023 04:08:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684753715; cv=none; d=google.com; s=arc-20160816; b=oExZIvFsEqHExqAprinV6bYIhuMbGJBvCFHPrznCR4UsElknVmBao5ImtBdwXD18fn tVL7B5zymkBKpPhktzbLHcfGlwx9B66hnRUThOVqp85u1MhXdDx44aF4YuV46o+BS7C3 L92ruEUP158fA/zWfj7A6e9C4p5jGUToe6mHj7XM1JKg35oRjyo3XRs7J+mzgSjLzx3q 9TsGyun8M43tgzZzVOj4If0gva7X0xcxto+otmbxwpNEqwhG5GoQspwM5q5YLQTz1s3T CoupKTfQbvdoGPoBOjvT2iqvMWuCZj3+wraFwPslcDDbO651oFyMGcMOYHvqrTa0Y8sT HaKw== 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=jGh5XwgUrd8vor5149QZTTUXl/cZRiPnDusW+ItdRCk=; b=zhdvtCG49yKYvGBogVQNpeUjwuxEQlefdBC3eFloSN+MzapKqWKP4I8hOZQNXvFt5Q 9RiQETNVejFWcTwJdvDphnyceOZ5rNhnQS8JzWkUG5OeAMSUgBFsLG7S4Nmv2QtBLHy9 LbNJDWdOhsoy6Vq57Gzpzr1Lg3Z1NLtmsyuDU0XdcvF+WdlLrg0gFeXDbWqMTPP9ASVC obM0Oo96OPnOuYjIdVzYhGUqu5t4LRtad5RVpA10buWgF9JoNdfvwQtp3rNwLTPK1sMq mJPeRBxE/0Mv78RDLC35HMnX4IiNYR4aKAnY1f8rYPvl7rURPR2uNFjkRJQcVa8SmHZi ClZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=GmKmZmhV; 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 d10-20020aa797aa000000b0063788e7589dsi4751021pfq.95.2023.05.22.04.08.22; Mon, 22 May 2023 04:08:35 -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=GmKmZmhV; 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 S233169AbjEVKzR (ORCPT + 99 others); Mon, 22 May 2023 06:55:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232864AbjEVKxB (ORCPT ); Mon, 22 May 2023 06:53:01 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD0DD1B1; Mon, 22 May 2023 03:51:43 -0700 (PDT) Received: from pps.filterd (m0353724.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34MAlThD011532; Mon, 22 May 2023 10:51:28 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=jGh5XwgUrd8vor5149QZTTUXl/cZRiPnDusW+ItdRCk=; b=GmKmZmhV0SSdZ470cU/fJ7oNCuSjwfHpQth6dAh3luv3xPpxmUdLh5crqIrCNnHdWGgq DPnjAiS3ZQ5+hnj3CfVEG52vvG5Ck4K0bH9ASzdRzj1uVqVktLTyhBHLneHt4x3Dic7V LvxeSKCM5KQGDDmugtvGiPXrKLCNQC+riDbm+z90nI/eK8yCOgBDhgnudEfbsN2m2Myr M2VrCxKgwaQgarqln1TS9jH6nTpe+2cY2qtxeaL8H1Vrhv1iJk0O/ggM7a8531ILsSH0 fjH4Nmb+ydHQ64i1qKaHKaXscgG3p+ulEgOhymux3A4hu6IdI7OxlnWj8uoUrq2mATgy 6g== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqee6tdun-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:27 +0000 Received: from m0353724.ppops.net (m0353724.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34MAahkr010615; Mon, 22 May 2023 10:51:26 GMT Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqee6tdtt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:26 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34M2w3SO026203; Mon, 22 May 2023 10:51:24 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma03ams.nl.ibm.com (PPS) with ESMTPS id 3qppcu8wf4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:24 +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 34MApKus8192630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 May 2023 10:51:21 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D5BAA20043; Mon, 22 May 2023 10:51:20 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7425E20040; Mon, 22 May 2023 10:51:20 +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:20 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Sudip Mukherjee , Teddy Wang , Greg Kroah-Hartman , Forest Bond 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-fbdev@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH v5 34/44] staging: add HAS_IOPORT dependencies Date: Mon, 22 May 2023 12:50:39 +0200 Message-Id: <20230522105049.1467313-35-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-GUID: 4cQf4ZHsjragOYGQ_i9N3_2mqr_sli2B X-Proofpoint-ORIG-GUID: SNHkTlguHNZ3t7zx6igYU-xmcn67Wg32 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 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501 mlxlogscore=931 clxscore=1015 impostorscore=0 mlxscore=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/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. -- 2.39.2