Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2113339pxb; Fri, 25 Mar 2022 11:19:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFlVhjubWjt6gabrZIHUWK5+kA0q5C9qcWQBncZVH86YNnWzE0oT3Y3GTjTHiNUc4JMtT2 X-Received: by 2002:a05:6a00:418b:b0:4fa:9184:7394 with SMTP id ca11-20020a056a00418b00b004fa91847394mr11227909pfb.60.1648232344648; Fri, 25 Mar 2022 11:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648232344; cv=none; d=google.com; s=arc-20160816; b=hEslCC7Uy7rQt8+12knXJkKkBjD7HxFN155dfNUQ7tMsGpk06rxrkrKfeirFBgzTun lCPF7vpIhmB0D7+hp93IpDjEHnHaPqIqZRHcx6s0cymHaJKJtMC7lYGZR6FmG9swmHHd 7fgwiwDX4WO66u4ewuvs8Bazgko0pmVlTx/D76hD24iqO+Ku37CM0lZOp6XhzeftQIYe S48b1cQRMGPFbWbZtq9U2HKPsWDvM88Z/XnuZtDmNoaKr3URrj0B0pAShI1/ZROFeaWh Q525rcF80/jobZ8w4ppzsdJ9JVKc02Qb8YBvXylXV5//xpu9URzPFxmdgtALXNJNikxW Q63w== 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=yFyJNLEJJ/Cb/prXL0N3X5rrORJKS97la5fStozzKWA=; b=tI5So6DDlh4yGPPe6Uk2lKtnK846Q6tUikPL+5vVwr3OVPzlZb4Hn75ExIJ32R/UPa pM1t3c+hHpQcMbkotYEJaBgG2hnnL4jd3Ytk443eDtWN+TupZNZf/VKaFZXZKYuBwYj3 92J6eblK2pi9uures/YJuFoizLIxhoMIKN2WISEa8oTvKP1pXCNnimHNGI763QPjvepk QeJNI6iYh1UmtSgAizpFIj7rzEtPGYnGcOpxunklMlfE8YexfAGfglLqP5o8m/tEKmdY XXJMWzh1Ui2Pe3wPZGVdzo9xl6mTtV41VDE689J+AdzEZWBVzCG++qcLl6psUFJwarzj QHjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g9-20020a656cc9000000b003816043efbbsi3166426pgw.432.2022.03.25.11.19.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 11:19:04 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 64F8616015C; Fri, 25 Mar 2022 10:47:08 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348279AbiCYHb3 (ORCPT + 99 others); Fri, 25 Mar 2022 03:31:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348234AbiCYHb2 (ORCPT ); Fri, 25 Mar 2022 03:31:28 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39B53BF035; Fri, 25 Mar 2022 00:29:54 -0700 (PDT) Received: from kwepemi500015.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4KPttB1rvxz8wyk; Fri, 25 Mar 2022 15:25:54 +0800 (CST) Received: from huawei.com (10.175.127.227) by kwepemi500015.china.huawei.com (7.221.188.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 25 Mar 2022 15:29:51 +0800 From: Zheng Bin To: , , , CC: , Subject: [PATCH -next] pinctrl: nuvoton: wpcm450: Fix build error without OF Date: Fri, 25 Mar 2022 15:44:50 +0800 Message-ID: <20220325074450.3228840-1-zhengbin13@huawei.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.127.227] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemi500015.china.huawei.com (7.221.188.92) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 If OF is not set, bulding fails: drivers/pinctrl/nuvoton/pinctrl-wpcm450.o: In function `wpcm450_dt_node_to_map': pinctrl-wpcm450.c:(.text+0x404): undefined reference to `pinconf_generic_dt_node_to_map' Make PINCTRL_WPCM450 depends on OF to fix this. Fixes: a1d1e0e3d80a ("pinctrl: nuvoton: Add driver for WPCM450") Reported-by: Hulk Robot Signed-off-by: Zheng Bin --- drivers/pinctrl/nuvoton/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/nuvoton/Kconfig b/drivers/pinctrl/nuvoton/Kconfig index b48d32912bef..852b0d0eb08e 100644 --- a/drivers/pinctrl/nuvoton/Kconfig +++ b/drivers/pinctrl/nuvoton/Kconfig @@ -3,6 +3,7 @@ config PINCTRL_WPCM450 tristate "Pinctrl and GPIO driver for Nuvoton WPCM450" depends on ARCH_WPCM450 || COMPILE_TEST + depends on OF select PINMUX select PINCONF select GENERIC_PINCONF -- 2.31.1