Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2244543pxb; Fri, 25 Mar 2022 13:48:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnrEyh4B7DNgGw7edkrl23MGZqvX6uGbVKhXEsbqLmBPqPlo+4I3nPWMI45i/tWli1ahWC X-Received: by 2002:a17:90b:1c07:b0:1c7:5324:c68e with SMTP id oc7-20020a17090b1c0700b001c75324c68emr14805384pjb.202.1648241327757; Fri, 25 Mar 2022 13:48:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648241327; cv=none; d=google.com; s=arc-20160816; b=f4lZHv/KHoFxJJXd/UZxiooRnyiEXCzGnZXfQs4ivKAsvXww1qVD+d154k1mxpV55J V66QCYRWvUysqMHgnrPY+VYhz470iu5yQUCOoOFP5uJUt8Ku5zu3vTZnbspxsEcKXddF +yHzlZVmN+60m/y9K35S45sNmxXMIABM3wQB6wmXIRMs5J8AogFyT8SaVNGJ+k0LQKjn 3+VBGbD+1zTtD1I4gkcaQ1OFPSbBpNXiVxh1UHDXQn9BbiSP+oC/kf3mIqG4nHXJ/7MO VBjm/X7IX++/k+mozrSOFhsa01zeO4hVXOFAfrPRzd5MV8aXmMvh4qr/PTJERPp78klJ lM6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=vtp7+nDUHbkUKPJ586tHhPQHIGkVxn40OpnwYxUR31I=; b=dkYabroB82ww0fFVIv2vbARPJc8+VLXYTYfZAGG/kXBNWV1VzhZxvwXSBYTkWEDw/O t0z0WsvyLGMXJWoLsz6Al/UfKlO4jMKr2ztrd6ZqGsYeHmRJUnT26GIo7Uqct4QXgbzp /22HjUDf+VSHHqCZWodT0Q/OE9DvPGaqTa2IMBLmGaB9G+91g4X5DS2qmmoYkuz9/Ukh 5kas6dJFFivFFR4TwD4Z47/wtRobJhMntDTkkfar4IiLKAOyH1M1SS8lwqWNYiHBLOE4 4Wd+e9hzIi1LUql669vyp2ZD/AULfqNKNs8xKh/QlVbs1REznJSisUZSGLAuIMrB/ihq tbfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=etfZ2To2; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k207-20020a6284d8000000b004fa3e2a9b13si3484412pfd.378.2022.03.25.13.48.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 13:48:47 -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; dkim=pass header.i=@linaro.org header.s=google header.b=etfZ2To2; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4D4B45419D; Fri, 25 Mar 2022 13:15:57 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232013AbiCYUR1 (ORCPT + 99 others); Fri, 25 Mar 2022 16:17:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231962AbiCYUR0 (ORCPT ); Fri, 25 Mar 2022 16:17:26 -0400 Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C245739154 for ; Fri, 25 Mar 2022 13:15:51 -0700 (PDT) Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-2e64a6b20eeso94502427b3.3 for ; Fri, 25 Mar 2022 13:15:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vtp7+nDUHbkUKPJ586tHhPQHIGkVxn40OpnwYxUR31I=; b=etfZ2To2AkmbDwdMb4CemT9IGY7lkeRqGgVivTwjfOQJoN9U9bZ5skarGYOO2Oq8I0 W85wxZ8MPSLmLidAYZCd3XG0GDfGOSJKpINCippQRZGUf7Nv9cZTqf84DSWa+YPREmgF jJqjj7mlo2YiKvw3yAeMF21Nuy5X7hyehxeuuPotXyAenAXf0nNM4RHRLc8YQTULVjPA FqvoJtQBRtjgVLv8zsO/m3D+DMyKzHyOdMJjXEHhIrWlkoWzla+aDSLA07y0aDgRaEER CNMkNERYLMkcuoRK5l4y2xUCEszmqCFGPSwPFGBQV9Ds1A1YLeewOIjQAM+4kGkM0z4M IPBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vtp7+nDUHbkUKPJ586tHhPQHIGkVxn40OpnwYxUR31I=; b=WoN2/rULwhjqytIlftjAMipov/LRNI/VTdh+I34BKD/Xh8E99R6l2mMfEAKTM15Iqu QKUsPGvdY8nRyKXC37O21et7/XbQzs3atvCl9Kc8wcgAYhfCZrUcapxHa2g0HL5X7dYm +gvOF06dgQkDAKyBMA1qJs4tUlp8oitJf0XQ5FWGoKbj3OLf+Nig8DTK9PNFvd1uWcGM iGRXBC7iCFW1BqLiV4Jn6Y+VkX8h7iTInSV4l1sQ74mpGFpq5Kxl9zlA9AF/HUCCnrmw tNfrSL0qOH2FqDoodaznPCMg8mkx5boK0OOqzzvvrkooGER4MpNhMxqpJMQulbiKs95z tc2A== X-Gm-Message-State: AOAM532x9oxhI6XevPm8SlD5nrT982n3vUA4k79W/yZxnqMytIgiPDnj 5BUqFMsZcsC6gEzdQ4Z1kEP3V+PpaBinYUurm0Li+A== X-Received: by 2002:a81:1182:0:b0:2dc:4e58:da41 with SMTP id 124-20020a811182000000b002dc4e58da41mr12592447ywr.268.1648239351038; Fri, 25 Mar 2022 13:15:51 -0700 (PDT) MIME-Version: 1.0 References: <20220325074450.3228840-1-zhengbin13@huawei.com> In-Reply-To: <20220325074450.3228840-1-zhengbin13@huawei.com> From: Linus Walleij Date: Fri, 25 Mar 2022 21:15:39 +0100 Message-ID: Subject: Re: [PATCH -next] pinctrl: nuvoton: wpcm450: Fix build error without OF To: Zheng Bin Cc: j.neuschaefer@gmx.net, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, tangyizhou@huawei.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 On Fri, Mar 25, 2022 at 8:30 AM Zheng Bin wrote: > 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 Patch applied, thanks for fixing this so quickly Zheng! Yours, Linus Walleij