Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp867494rwl; Wed, 29 Mar 2023 09:25:50 -0700 (PDT) X-Google-Smtp-Source: AKy350azqXcCT1sui/AL+RBKN27jKUHgxJgX7C+RueNDiOmlkEkWgr3XGHkc85fGbg+/swzEARKs X-Received: by 2002:a17:906:d207:b0:92b:b4d9:3f07 with SMTP id w7-20020a170906d20700b0092bb4d93f07mr19061920ejz.14.1680107150223; Wed, 29 Mar 2023 09:25:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680107150; cv=none; d=google.com; s=arc-20160816; b=KzClQgDC6moqlFCfaG60bYV8l3Txcv/J3m9Zz4r/sQ1pexNwyqWTBgUYmGQabc84a0 aqhxTW6Ph6/LRNf8+4nH9RvOY7y0t0ha/WgGHKXDPno9mkN9ZT9mJnxShoChThq5He/Q LtLt3K7RT7HwFfciuLbFNPysUn0xPJjP4aXZxy+a81mxqCi8zUadTG8uAAHweuZQ0nll 40jfbPXhxpW2HZhf/mS1pmSxYo8RX24Nn17eulfV0Dsmlmc9S2i6EJzMnNVh05FlM2xX 3vuA1N5Mo8+luJwZ2fLNN811vcjqidFVQyOIL9fqfB8yp958P5a2v+zArQMAoFGtZKlS hCAw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oXQRlBCYnqGo9Fi48YDM5Iz/n3EKV6wgfQDls4v49ZQ=; b=fVDxlZoue9coj60vGjCCAuEX0httAkf8/lM5e5QQl3EPaPJYf4bQ5ZvKNMakwsXbP4 uljGQvsrxTOv2JbfnUb+vGs+6pXHpEPIsJJ//AuSxCwUGVLT/sXLfNpM/yF5MkmMISWO MlW8VfoEIKHNuasuy4WtcqbZtWOX6y+jLFkIiRj8D++oaOZs3VfyXUdgdpM5pYy1UyER JkuyDmu5jzy4fyrnXfq9iTM+BBhGAtnb8PrZnrjD6tAtaMpXabPMo7d9W6kCVIKDyaG3 jH17fb400gJLmjOxtxd4L2EFMGNwv1HGHzNfmGLwIdpymQaqLgentx8ZhDdEZYkEHcSk Shyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZP8azEYR; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lh24-20020a170906f8d800b0092b920ffae2si26568814ejb.308.2023.03.29.09.25.25; Wed, 29 Mar 2023 09:25:50 -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=@gmail.com header.s=20210112 header.b=ZP8azEYR; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230257AbjC2QHL (ORCPT + 99 others); Wed, 29 Mar 2023 12:07:11 -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-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" X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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 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