From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B36FA2F30 for ; Wed, 29 Mar 2023 16:05:32 +0000 (UTC) Received: by mail-ed1-f51.google.com with SMTP id ew6so65356933edb.7 for ; Wed, 29 Mar 2023 09:05:32 -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=TFeU+AXWHKwM1WbJJWDTcv4eck/Uw0sDJ+g9hnPMZpMAwFIF42TLtMmlJZWNTb3JKq RLxgNDB5UCz6kOG+jNg+gjwEokC/I9G+H8fDZi7A6CDLKrC3Y8Cq2GSwmm4gAAEyAwxB FW2qNkZ/LTy8VrB97kg/zPyC64sNI9ZKS4sJGoNxi6UBTkmMjiDpgHDNq7FiQrtyGP3/ 4EbHfoMpct29hZxgqhdsq+Gq2rdBWTpEZoKiXklBrQ4+mYIW+nrY0i3NO48FhPs5oiIP 8TWRLA+2K0JZX1oILJp0MR4BxtZ8tjQvmldB34kb9jgT/zoXkaJ5flN/riiGXlp7xJ+Z 29WA== X-Gm-Message-State: AAQBX9e0CPKuoXwykVEfgYZmmzh+WdCBYRb6d2RVRjfzrLAT27CSgy/X i5lHT4d+SErUARXMWERE9z0= 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> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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