Message ID | 20230226053953.4681-9-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1809487wrd; Sat, 25 Feb 2023 21:41:36 -0800 (PST) X-Google-Smtp-Source: AK7set+5f3WHYOtxZ865n3T0xJThLWsIgHknL2Or8UyVau6Nx3J5m8Vt6V70VHBaldXaSXYaSclS X-Received: by 2002:aa7:96e9:0:b0:5dc:71a:c928 with SMTP id i9-20020aa796e9000000b005dc071ac928mr10682612pfq.26.1677390096488; Sat, 25 Feb 2023 21:41:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677390096; cv=none; d=google.com; s=arc-20160816; b=v/MqDknaxXscz+1yoLQkFiYOfmZlZE32XVe9jfJPhSPOv6RlYdt0enj6feVoNTBqF/ +U4LFshENTwWst6SDfnzhS4ulalphQvH99iE+tSPjmodP7xiplKM2uRRnjVXIFf92nhm JkarDNqdO42Qat6nSaKvYXV+P1ECyEU6mAu1jPOfjnWhfMwYDreZpPOmin4pwfAupKmp y/JOFFQu1jcaiYYtDMy8Jlt1rEN1NKBn4yX/CTihR4SDWmXlYNVHjb3KHeOz0HB6jNgy ho/BclVMPfXCpfjMRy/hKq2NTGr35sXFWMHh7f8WFluPv961NqUKnaYH6qNoVAPy6C/9 jozw== 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=cSNByO9fFLUH/bsd79G915kzP5bO5cbyzpjf2Z+gFkk=; b=Yspz2TYMg/QuydXUJCeK2jUaKlu6Dt5oKo/0t6I9FTedvmw6T4d3Q8SqCDoaNIr/UL 9ARUy85HHPvu8ZN2FlDMfHXmpbQsH+C3LHHWfXx4zz+qP/jbp4/0vMGUzvHWapMP/Fs9 DYFxLe35bOryv65B2BFsp1s04GXFI9gy16zpjF3s8zNrnxFyoz43g+eFkGqqIeKziGs8 VsfL004iFugdzrNVCiyfUYAcbDs/ENZLLTP02C4zXqcyD3AtQKRcE/jJGADosxNY4Sfy Xlu2M8XjKwshKHOj3NUyiOjUeqRLTQZ5OM3JnEITr40OQcEcK6knutoqSAqH4fhK09Pn Kukg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Wc+ujKzB; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f5-20020aa79d85000000b00592d5c262aasi3567771pfq.137.2023.02.25.21.41.23; Sat, 25 Feb 2023 21:41:36 -0800 (PST) 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=@infradead.org header.s=bombadil.20210309 header.b=Wc+ujKzB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229715AbjBZFkS (ORCPT <rfc822;guoshuai5156@gmail.com> + 99 others); Sun, 26 Feb 2023 00:40:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbjBZFj7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 26 Feb 2023 00:39:59 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF6B8136E9; Sat, 25 Feb 2023 21:39:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=cSNByO9fFLUH/bsd79G915kzP5bO5cbyzpjf2Z+gFkk=; b=Wc+ujKzBtm+iV66xOvUoAUGW1r emDMt3GkBYnW0zXqvn/HmExzeY6gQDdMGhpcFu4c8lxCp3UQHRmYnYPxdl+RiiEWrmwdVJtoDo8ic 2AJ2rMwrf3jXoLafx9hsLP7nJOHL5h2VmuUqb2XpeE8cJwkdWo/k3V+LmYLOkDow6LK+ly4VEI3/q JMbwUBLaJhg3VGoL+4IAzrZukTKM3QBl2T00aO8Cu5bYdy2744qx2geTxx22LnV3UAjkaUVdk4buX TApEbcGYagRdqgIdrXjnnjZAknRduFfiREeJpas6LHqLXhXECpCapPST1GWw0NdCcXTOg7A3zGYMc Jps0jjIw==; Received: from [2601:1c2:980:9ec0::df2f] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pW9lO-006qYL-6D; Sun, 26 Feb 2023 05:39:58 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Oskar Senft <osk@google.com>, linux-serial@vger.kernel.org Subject: [PATCH 8/8] serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it Date: Sat, 25 Feb 2023 21:39:53 -0800 Message-Id: <20230226053953.4681-9-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230226053953.4681-1-rdunlap@infradead.org> References: <20230226053953.4681-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758870998151061174?= X-GMAIL-MSGID: =?utf-8?q?1758870998151061174?= |
Series |
drivers: select REGMAP instead of depending on it
|
|
Commit Message
Randy Dunlap
Feb. 26, 2023, 5:39 a.m. UTC
REGMAP is a hidden (not user visible) symbol. Users cannot set it
directly thru "make *config", so drivers should select it instead of
depending on it if they need it.
Consistently using "select" or "depends on" can also help reduce
Kconfig circular dependency issues.
Therefore, change the use of "depends on REGMAP" to "select REGMAP".
Fixes: 8d310c9107a2 ("drivers/tty/serial/8250: Make Aspeed VUART SIRQ polarity configurable")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Oskar Senft <osk@google.com>
Cc: linux-serial@vger.kernel.org
---
drivers/tty/serial/8250/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -- a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -257,8 +257,9 @@ config SERIAL_8250_ASPEED_VUART tristate "Aspeed Virtual UART" depends on SERIAL_8250 depends on OF - depends on REGMAP && MFD_SYSCON + depends on MFD_SYSCON depends on ARCH_ASPEED || COMPILE_TEST + select REGMAP help If you want to use the virtual UART (VUART) device on Aspeed BMC platforms, enable this option. This enables the 16550A-