Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1561306rwl; Wed, 29 Mar 2023 20:55:36 -0700 (PDT) X-Google-Smtp-Source: AKy350YBgatvAjdNSUKy4c+1cz/Q4eoLIH8e/0fTWcE6u/i7ZeIuI9PpWWm/7oBc3rvcFVpefm+1 X-Received: by 2002:a05:6a00:a15:b0:627:e180:ac04 with SMTP id p21-20020a056a000a1500b00627e180ac04mr862412pfh.0.1680148536255; Wed, 29 Mar 2023 20:55:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680148536; cv=none; d=google.com; s=arc-20160816; b=iWCdt/V5Nf9Wn7ZWcyYcO7JJfygqr7n6Nb66pbnxkv70zSVFeNyle0pr/CBydyoALQ HHpWmbCluQkJTIBRcN+vZwhgEcie8YnMRrdIgVqKKlRmP1GcNX/m3Zcs2410Eblw0v+A 0FJuPGT50/FXs7r8M5D7QGyiw0+ApwP8D27IkP6Zr4v7Nprl11ptyN6nvVW+7ygYBehw RHPz2Ok2tjL8BCfkKWw828fD5DN6DZA8VKjY0kRkoXWuCKL1ZuPBEshx4LLJlDzxUaXX mm2l41KF3Kbr/wm4fdvbrQiDpF8K++aesPl3BXUnpZ3mvzfZVw+C84z/eo1x/+Dmbx9M lAVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mwmSNDnybMqBEh0Z+gPmCfYtw9bkrJ0PR1su4QL+8ng=; b=bNAeDFQ2iWZ377u1WlbxvfQ4xBTQLti0rLwyOpLNCJ5UD/HvinS9LWGKTGXBfcRpjB 5JlbzWxSZ56h/7XGoc/axi6mUdd3MB6Kp2jdSMXgX3IjHzYEQtW/ddQ4NmXXgcw68wzy kX1hufxL9nFyCHhpialjkDx0mBuw5GOytO+I4dDa+/U7kt+mK3i5ZJkCbsa2ggK78+Hq q1Ml8cLGUXfmFQxhuybwOhHxn7kdMKFkUrRqgeOHd5aTvaZY4B5PAUER+LkPG51eMcac SkdtflYb/rzQ7GGgy9rnjaQZomT0CsecoPkVw1cfLXilaXWd3X05plvXxusWuU/TwTLO 24qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GfolM2ge; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q14-20020a056a00088e00b0062597362b79si34325617pfj.5.2023.03.29.20.55.24; Wed, 29 Mar 2023 20:55:36 -0700 (PDT) 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=@linaro.org header.s=google header.b=GfolM2ge; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229773AbjC3Dyx (ORCPT + 99 others); Wed, 29 Mar 2023 23:54:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229652AbjC3Dys (ORCPT ); Wed, 29 Mar 2023 23:54:48 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D8CE59EF for ; Wed, 29 Mar 2023 20:54:46 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id ix20so16920864plb.3 for ; Wed, 29 Mar 2023 20:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680148485; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=mwmSNDnybMqBEh0Z+gPmCfYtw9bkrJ0PR1su4QL+8ng=; b=GfolM2geRXzvdw+ehZXpU8LIxL1xjz8Gj7iUHWYn0dQe/xK6gKP+jAnnfACd9dNas/ V++Sm0TyABcLhhIGfP5TWHGwoCe9wculMPYuWNh8MX5dslq4eZGiHhMbH8QnfrjFjyDi 1R02/q4m606IhgQClA65oAaxUmLy9Tlpoo3VU7hbegQucmzXRckhRFIw+Bte6EBu90qm Eybgi+WtfZP6vwZHlApEpFbN2Q1QBxtwJODT8JmI2ozap/CAX0ZDAlAhOh4ro/TsRICH q6vFusF7IDZ1ivkOyQ2u6hFyH7XuM27wai0R73hAJNlIGTC/gbz4+yD+DIAgG5FzF0WR 8Nww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680148485; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mwmSNDnybMqBEh0Z+gPmCfYtw9bkrJ0PR1su4QL+8ng=; b=niU/WWgW9CN7lhq3hBKbY+Cse1jP8hc0jkdtN4v3csMXQqCRWm5uhiSbRXvZ20MbaP iwqc7/hY4BNlX/OFmNiAN4662lyHgb5KVBEI8QpET9VHUBEM29+UVcN5SuLMXsLmk59E j/bnGQf4f7gopdTotkUyNVo3yzJpbct7PyMCgbAMO1lz+ultnfebfczRJ5Ia/Q46yVpd pdRq1wrXZ9475D003mFmKlcb204oxFZyemanf40tMVVIvW+4Nd3hm2PF4V57cwDBU1TZ xykZFx42tZ+aAP8dVhBi6K1XyMOGR5juCoyumY+dxKoYQujKZt09nh+yheo5lD+pmfKD XHnQ== X-Gm-Message-State: AAQBX9dY8dbR8CsBXfS3V+Lu4WM5Dl0sTWJo/4spP6AYWL4sya+z1eEt Ql1OrvNI0RMJgpdftPi+MqoMNQ== X-Received: by 2002:a05:6a20:b71f:b0:e0:316a:d62c with SMTP id fg31-20020a056a20b71f00b000e0316ad62cmr11170953pzb.60.1680148485691; Wed, 29 Mar 2023 20:54:45 -0700 (PDT) Received: from localhost ([122.172.85.168]) by smtp.gmail.com with ESMTPSA id q17-20020a62ae11000000b0062607d604b2sm23791281pff.53.2023.03.29.20.54.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 20:54:45 -0700 (PDT) Date: Thu, 30 Mar 2023 09:24:43 +0530 From: Viresh Kumar To: Rob Herring Cc: "David S. Miller" , Rob Herring , Frank Rowand , Russell King , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Greg Kroah-Hartman , "Rafael J. Wysocki" , Daniel Lezcano , Thomas Gleixner , Amit Daniel Kachhap , Lukasz Luba , Amit Kucheria , Zhang Rui , Matthias Brugger , AngeloGioacchino Del Regno , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Thierry Reding , Jonathan Hunter , Yangtao Li , Lorenzo Pieralisi , Sudeep Holla , Andy Gross , Bjorn Andersson , Konrad Dybcio , Anup Patel , Huacai Chen , Jiaxun Yang , Marc Zyngier , Viresh Kumar , Nishanth Menon , Stephen Boyd , sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-riscv@lists.infradead.org, linux-pm@vger.kernel.org, linux-mediatek@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-mips@vger.kernel.org Subject: Re: [PATCH 15/19] cpufreq: sun50i: Add explicit include for cpu.h Message-ID: <20230330035443.kowj26o4z22yg5f7@vireshk-i7> References: <20230329-dt-cpu-header-cleanups-v1-0-581e2605fe47@kernel.org> <20230329-dt-cpu-header-cleanups-v1-15-581e2605fe47@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230329-dt-cpu-header-cleanups-v1-15-581e2605fe47@kernel.org> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29-03-23, 10:52, Rob Herring wrote: > Removing the include of cpu.h from of_device.h causes an error: > > drivers/cpufreq/sun50i-cpufreq-nvmem.c:42:19: error: implicit declaration of function ‘get_cpu_device’; did you mean ‘get_device’? [-Werror=implicit-function-declaration] > > As of_device.h is not otherwise needed, it can be replaced with of.h > (also implicitly included). > > Signed-off-by: Rob Herring > --- > Please ack and I will take the series via the DT tree. > --- > drivers/cpufreq/sun50i-cpufreq-nvmem.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/sun50i-cpufreq-nvmem.c b/drivers/cpufreq/sun50i-cpufreq-nvmem.c > index 1583a370da39..4321d7bbe769 100644 > --- a/drivers/cpufreq/sun50i-cpufreq-nvmem.c > +++ b/drivers/cpufreq/sun50i-cpufreq-nvmem.c > @@ -10,9 +10,10 @@ > > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > > +#include > #include > #include > -#include > +#include > #include > #include > #include Acked-by: Viresh Kumar -- viresh