From patchwork Wed Sep 13 16:40:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Abbott X-Patchwork-Id: 139061 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:a8d:b0:3f2:4152:657d with SMTP id gr13csp51885vqb; Wed, 13 Sep 2023 12:56:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFsLpEMlhvaqJ5OEFoSHpJgghgOhoyhVrYsV1SpeIhTD3l/Ulx3ZVaftOlTXtdOlmIXPKt0 X-Received: by 2002:a17:90a:f291:b0:274:5e18:851c with SMTP id fs17-20020a17090af29100b002745e18851cmr593662pjb.4.1694634979935; Wed, 13 Sep 2023 12:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694634979; cv=none; d=google.com; s=arc-20160816; b=aI9IVmC7kdYOk+4RT6cuTycbNWy9D65QKEC4gTkloh3RfC9cBYB+sy3DETAWpsAKSD U1xq6WNPraYSe4TBk8L4pxXERLWzYGHWPzD3rYeh2GRpMF4CcNnHlnJUSCC4ULVO2I1l u0tVsqZuRln1WOkrMXNArkz98sw5nKuu4zT4jNVB0vFcmtaVJ+WVM9xSUX3BWytpm/TC Z4W7JQLqwZeJ/JTsKkiCAbJcu8J6tkozr0eKRmKp1ROqpdlD0A91uSDz9jwXfW9behKN EI1+CqTGKmZrKXz6fyFFL1BAvxl3yV7zfpSETlNIfZjdZn0dwpI2oLiSpRURngO2kfK3 /2PQ== 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=fWBophpvyXFM74hQUj46tL5RWhznsa6UrybfQx1oAAg=; fh=V2IY9JiXP/LhUMpX66+Nr0N3VSfqLapXj8NIppeg0Gk=; b=qkSY1G8fYvZ6AEHoHQpXED5r5AZTt2Gm50BphSa+oRUGG6qL7BN72PlHKbHoU0kj+e jdknXhBFt49ihldQf+JGWzAxgtbqLqR3EIEDnWoepPqiouhs7uNAGxVyGI40qCuMmNUF hkAucJpsacOx7Z+ULobgwlzgquPjUD34F5i2EHToN/5/VJQC0W3Ge2IIwTxT9aUX2msK 4+k83EawuIaY46RfY8P3T4NN2S+A/xVsV6d5er3qbufPVAQYsYhlkkCmAvbz4FgWuSnH 7Vz1+UqQS0C/EfoO9sCQ7Tu1BtpTnMDnaut5s2jEj4i6SEm6yguSkI+pLq1QsCtrDW9a skFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mev.co.uk header.s=20221208-6x11dpa4 header.b="xvz/NYup"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mev.co.uk Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id z11-20020a170903018b00b001bc17ab8d6esi8278plg.530.2023.09.13.12.56.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 12:56:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@mev.co.uk header.s=20221208-6x11dpa4 header.b="xvz/NYup"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mev.co.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 7D54481142E9; Wed, 13 Sep 2023 09:43:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230413AbjIMQnE (ORCPT + 35 others); Wed, 13 Sep 2023 12:43:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231297AbjIMQmx (ORCPT ); Wed, 13 Sep 2023 12:42:53 -0400 Received: from smtp71.iad3a.emailsrvr.com (smtp71.iad3a.emailsrvr.com [173.203.187.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CBD63A97 for ; Wed, 13 Sep 2023 09:40:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mev.co.uk; s=20221208-6x11dpa4; t=1694623228; bh=I0B20dZMkjYKat14tZVtw7la5InFdaiAteuV0o6c5t4=; h=From:To:Subject:Date:From; b=xvz/NYupvz/u8jsBANLG7N4Y6Pd1f5yMOJZxd2L4lW/h7agyQS8iJSZ9MV7LGDgL2 Y98JdTe8OCwY+c7g3qkf7RUakghXzRPDJyKUbEIZcRyR6HlJ2D1Q7Qirp2Z1/rnEKH AFsubvpxnhmW+HuxWDlJXmLmVTLjJOYpUZ8TUknc= X-Auth-ID: abbotti@mev.co.uk Received: by smtp25.relay.iad3a.emailsrvr.com (Authenticated sender: abbotti-AT-mev.co.uk) with ESMTPSA id A3430239DD; Wed, 13 Sep 2023 12:40:27 -0400 (EDT) From: Ian Abbott To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Ian Abbott , H Hartley Sweeten , Arnd Bergmann , Niklas Schnelle Subject: [PATCH v2 01/13] comedi: Correct dependencies for COMEDI_NI_PCIDIO Date: Wed, 13 Sep 2023 17:40:01 +0100 Message-Id: <20230913164013.107520-2-abbotti@mev.co.uk> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230913164013.107520-1-abbotti@mev.co.uk> References: <20230913164013.107520-1-abbotti@mev.co.uk> MIME-Version: 1.0 X-Classification-ID: bb5231ff-a70f-4c9d-8b55-93f03f91465d-2-1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 13 Sep 2023 09:43:13 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776946707309412562 X-GMAIL-MSGID: 1776953569011516984 The ni_pcidio module does not depend on the comedi_8255 module, so change the `COMEDI_NI_PCIDIO` configuration option to not select `COMEDI_8255` and remove the inherited dependency on `HAS_IOPORT`. Cc: Arnd Bergmann Cc: Niklas Schnelle Signed-off-by: Ian Abbott --- v2: N/A --- drivers/comedi/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/comedi/Kconfig b/drivers/comedi/Kconfig index 9af280735cba..536101f68e0f 100644 --- a/drivers/comedi/Kconfig +++ b/drivers/comedi/Kconfig @@ -1042,7 +1042,6 @@ config COMEDI_NI_PCIDIO tristate "NI PCI-DIO32HS, PCI-6533, PCI-6534 support" depends on HAS_DMA select COMEDI_MITE - select COMEDI_8255 help Enable support for National Instruments PCI-DIO-32HS, PXI-6533, PCI-6533 and PCI-6534