From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13946C77B61 for ; Wed, 29 Mar 2023 16:07:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231331AbjC2QHK (ORCPT ); Wed, 29 Mar 2023 12:07:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230350AbjC2QGr (ORCPT ); Wed, 29 Mar 2023 12:06:47 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B6E665BE; Wed, 29 Mar 2023 09:06:02 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id eg48so65316238edb.13; Wed, 29 Mar 2023 09:06:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680105931; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oXQRlBCYnqGo9Fi48YDM5Iz/n3EKV6wgfQDls4v49ZQ=; b=ZP8azEYR3T/kmocgq8bSZlNTouSdAv0pqNbONNvK6pjIOYfvW0EWRaDVO44E5sowbA 4MGZKJiXz7VE108ciJQNXn5/hHquTqMqhb6tRaq9zC55es7aV4eyXx5sWcvFrwBw8u31 DcptBNfTU6x5mTKuHF7vCiSdOphP7f1dZ5xyT7jA8pE036EK0r7Mwyj+wpf0qOtr4/dO PtsdhtBZV/jUZWdd6KSP5EkVxa9qFL2fQNK4V/Imeno6KN+BWXvR2ysex446RXd1SjcJ RuPjjhn8s3ln2xq7NpQb+o1cGn+mn2pwwyW/FTHZVbW4BbukRommLkvptqsBpXQc4gTR WTBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680105931; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oXQRlBCYnqGo9Fi48YDM5Iz/n3EKV6wgfQDls4v49ZQ=; b=Bbh9UL2Re6XbSbaYcMh3fAwCaCC1EP33Yp8IXh7/JfAGGVEqF3VQQoEAVXKAdKsq3V /rWzdv9nDVKZXSsueEXewWP1uS/3EohRrzfjgFrmKcvbwtoquM3ggKo8YWDfvkQFkmfj nvSFp4JxMgKklXpPaw/rhFFPonVbP2DTarrC3UgQuDaxieh/DGpYs2hFJh/jOjkaZ0gW JY6FfdUxs0gj0kIysxHYoasIE6vKyeB8BJyEp8oWpdJa8iPdjcrUuRJALNKemtck2ALM 7QJHaxYiUYAFXsGFIgDL7SQK8stCdT0WdOzkm23414I8VsQPZhy1tnkJJW1ZME4PrIg8 eedw== X-Gm-Message-State: AAQBX9fezxGL/+NnpystWuV1EgrAhMw9/cNKlAir6oDjKlGpOwm71qz0 wMPhanEUiNvMNJuyWrzKxzw= X-Google-Smtp-Source: AKy350Y0SxvEseTuQQeEwplPrjnDboy+i5rUViT0BUXK5Dv5qulkowom3JNTJJ/XP46pJIz4L/hzEA== X-Received: by 2002:a17:906:f1c7:b0:933:c474:420b with SMTP id gx7-20020a170906f1c700b00933c474420bmr20841888ejb.19.1680105930843; Wed, 29 Mar 2023 09:05:30 -0700 (PDT) Received: from jernej-laptop.localnet (82-149-1-233.dynamic.telemach.net. [82.149.1.233]) by smtp.gmail.com with ESMTPSA id l19-20020a170906079300b00932ed432475sm15417251ejc.124.2023.03.29.09.05.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 09:05:30 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: "David S. Miller" , Rob Herring , Frank Rowand , Russell King , Chen-Yu Tsai , Samuel Holland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Greg Kroah-Hartman , "Rafael J. Wysocki" , Daniel Lezcano , Thomas Gleixner , Amit Daniel Kachhap , Viresh Kumar , 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 , Rob Herring Cc: 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 Date: Wed, 29 Mar 2023 18:05:27 +0200 Message-ID: <2672894.mvXUDI8C0e@jernej-laptop> In-Reply-To: <20230329-dt-cpu-header-cleanups-v1-15-581e2605fe47@kernel.org> 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Dne sreda, 29. marec 2023 ob 17:52:12 CEST je Rob Herring napisal(a): > Removing the include of cpu.h from of_device.h causes an error: >=20 > drivers/cpufreq/sun50i-cpufreq-nvmem.c:42:19: error: implicit declaration= of > function =E2=80=98get_cpu_device=E2=80=99; did you mean =E2=80=98get_devi= ce=E2=80=99? > [-Werror=3Dimplicit-function-declaration] >=20 > As of_device.h is not otherwise needed, it can be replaced with of.h > (also implicitly included). >=20 > Signed-off-by: Rob Herring > --- Acked-by: Jernej Skrabec Best regards, Jernej