From patchwork Thu Mar 9 11:14:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yinbo Zhu X-Patchwork-Id: 66813 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp235622wrd; Thu, 9 Mar 2023 03:31:41 -0800 (PST) X-Google-Smtp-Source: AK7set9Pp4jWU7w4dhKrDhI5hASbEbz/DX4wqSn9GvRy19P06BX9lKKZSkr8H8dfyWeNeGdSHRyu X-Received: by 2002:a17:903:2290:b0:19a:c65d:f90 with SMTP id b16-20020a170903229000b0019ac65d0f90mr27048173plh.44.1678361501300; Thu, 09 Mar 2023 03:31:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678361501; cv=none; d=google.com; s=arc-20160816; b=YMc1lrG+R4W50NX+B0fTC9AlX0sTWFEuE9jwVSRoF9QITj7i9CAEsax6p26F8cM9Ww whnEnoq/9ld3wim7/Bmah+KN+dBGh0yT/CcU9FoJ9dYQEUmFLZQP6yg/Z50n8ePsbOBA dwy16iQBzhymWnSEieZWKsYwSl3/NgFMjJfJyFR8rF5b66nJDDzij9d31d7oWyv/UrnQ e5B5VafRzMXhew9qe6BsETyAjklhbyYdtR6WsBLnWeDg3b7/cVkk6qrVVCi0KhuSubVy muww1jnKvZhV2Gj4Ft7hER5+YCy+QTFr8SBW2yw38Wbn4Wwlg2NehAXUg3vIcV7ewb9A r9WQ== 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 :message-id:date:subject:cc:to:from; bh=pafjOqej9uDUrlhCMQFVsJwKGV5D+jRTrEINoVHef7s=; b=re8ovjSj+2dwIsPG08hENkf/47N0GP7sHFB6kVDJXlLZpIi6TYYJ4nSmKWPh158rRr qFrpyY5mc//Tplz5DtF0MvN93POlwB//G3U3JLUYH76dlM4Ox6WTMAmsgm2SwyZ9tz/t bQgLkv8Qi1NirXhEVqf7Cwj165HPiQ7D8nfMFzhAE2gImDifrCjOF7jiZp+Iq60KHEIK 0DF9SFfk5yqkUoULlOHoKY3wufiMACtvv+0JChGeHrkd6z0KcD4EO05TVAUlmpJBlLTf AMqBX9uxSPVeNWlJqlnzDHuvM5v4IekBFjRB1NzFH1u9lT+dLKQ9jINIbS+3ttmaHnJP rplw== ARC-Authentication-Results: i=1; mx.google.com; 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 n6-20020a170902d2c600b0019aacc74ea2si10680706plc.386.2023.03.09.03.31.26; Thu, 09 Mar 2023 03:31:41 -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; 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 S229948AbjCILSf (ORCPT + 99 others); Thu, 9 Mar 2023 06:18:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230274AbjCILRT (ORCPT ); Thu, 9 Mar 2023 06:17:19 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7885DDCF7F; Thu, 9 Mar 2023 03:14:21 -0800 (PST) Received: from loongson.cn (unknown [10.20.42.35]) by gateway (Coremail) with SMTP id _____8AxJPyMvwlk_WEKAA--.13937S3; Thu, 09 Mar 2023 19:14:20 +0800 (CST) Received: from user-pc.202.106.0.20 (unknown [10.20.42.35]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Dxrb6BvwlkfYdQAA--.13915S2; Thu, 09 Mar 2023 19:14:19 +0800 (CST) From: Yinbo Zhu To: Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Yinbo Zhu Cc: Jianmin Lv , wanghongliang@loongson.cn, Liu Peibao , loongson-kernel@lists.loongnix.cn, kernel test robot Subject: [PATCH v1] gpio: loongson: fixup the warning about OF_GPIO direct dependencies Date: Thu, 9 Mar 2023 19:14:07 +0800 Message-Id: <20230309111407.3398-1-zhuyinbo@loongson.cn> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CM-TRANSID: AQAAf8Dxrb6BvwlkfYdQAA--.13915S2 X-CM-SenderInfo: 52kx5xhqerqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoW7Wr47WFWxKryrZrW5tF1kKrg_yoWDJrg_Kw n3Crs3Wr4DGFyj9r1avr4ftr9Fka13Wr93u3Z2qr9avw17X3yjv34DuFn5JwnrG3yIgF97 ZrWfJr9F9r4xtjkaLaAFLSUrUUUU1b8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY h7CY07I20VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2 IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84AC jcxK6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVWxJr0_GcWl84 ACjcxK6I8E87Iv6xkF7I0E14v26F4UJVW0owAaw2AFwI0_Jrv_JF1le2I262IYc4CY6c8I j28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44I27wAqx4xG64xvF2IEw4CE5I8CrVC2j2 WlYx0E2Ix0cI8IcVAFwI0_Jrv_JF1lYx0Ex4A2jsIE14v26r4j6F4UMcvjeVCFs4IE7xkE bVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x0EwIxGrwCF04k20xvE74AGY7Cv6c x26rWl4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1l4IxYO2xFxVAFwI0_Jrv_JF1lx2IqxVAqx4xG 67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MI IYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E 14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVW8JV WxJwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjxUcOJ5 UUUUU X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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?1759889589923031965?= X-GMAIL-MSGID: =?utf-8?q?1759889589923031965?= WARNING: unmet direct dependencies detected for OF_GPIO Depends on [n]: GPIOLIB [=y] && OF [=n] && HAS_IOMEM [=y] Selected by [y]: - GPIO_LOONGSON_64BIT [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && (LOONGARCH || COMPILE_TEST [=y]) Signed-off-by: Yinbo Zhu Reported-by: kernel test robot Link: https://lore.kernel.org/oe-kbuild-all/202303091728.UUe6LWye-lkp@intel.com --- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 94051fb59043d..c0d6254797800 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -384,7 +384,7 @@ config GPIO_LOONGSON config GPIO_LOONGSON_64BIT tristate "Loongson 64 bit GPIO support" depends on LOONGARCH || COMPILE_TEST - select OF_GPIO + depends on OF_GPIO select GPIO_GENERIC help Say yes here to support the GPIO functionality of a number of