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 X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DED7DC48BE6 for ; Wed, 16 Jun 2021 19:09:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C9C5C613DE for ; Wed, 16 Jun 2021 19:09:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232420AbhFPTLU (ORCPT ); Wed, 16 Jun 2021 15:11:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232263AbhFPTLJ (ORCPT ); Wed, 16 Jun 2021 15:11:09 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C999C06175F for ; Wed, 16 Jun 2021 12:09:02 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id e22so246649wrc.1 for ; Wed, 16 Jun 2021 12:09:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=nLVDBTWNz5n+zUU4LbtZG+43+EwMaSV4mGSFCqMWcW4=; b=eJArqBVqGlkVZSf51Xd5+P0dv0rFGd3fSD4c7jRFUklxI8l/wxb0cYb6R9G+e9YlbB 5bPfWKs6kzOVskWksNC6qwHLiAV1uMPf/Z9Z8jkt3gYsXhdvi8UbNETrjzyeLW3/qzo1 ns04iePMwxa6bx1zIO0CLxPpK+xFK/eT4KhJGYTToNYhDnyjbQf+LgHN87ha0SxYtKEE 9MsXYtsaOgVfP4pbXBvK0nfyKQkewjCBISzdvalGQa45HDCbLLEla6XVETkYz1KyADO5 fObIpenozSTfvS3X0oBAjEgtSWcitMMPmNTNGJ9/9FFgm2PEuQnmIQUp0P9h9s7V7/p9 LmAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=nLVDBTWNz5n+zUU4LbtZG+43+EwMaSV4mGSFCqMWcW4=; b=jvaQuwD1CQYNGtqtD6YsADo67L918QBVuo8/f92l/8SF7Bzn0jBlzVSFFY9pv79RPE P18xo/LdPtGD77oNssDWK+1e9FDRQS6eI0XCRYHSkfe+ua1HOgKxUuJSwThe2ny1ZMlu bZv0aYybLex2qctt6hVFiUrNMIwXSn9aPNsXEzQ2BAg1dqFZfoo4J44O1j4cWWnkqTiG CkvOJCCXB4L8gy53HzbsdAHwNlDnnvYltpMY9w/aqJaIZVjVdHbaVf1y3qKQccBj+D1N mXlTEMbO7+0t5MUEXjSDMEz8D+1lfB+hJQKwsvfjYOmXvOPH3PFCDSdPDBeCg4YnJDJO bYuQ== X-Gm-Message-State: AOAM5308jcEv41UNSNAjrW5HT8MDvTZaom+1o7kFZ76u12hrrZT12O+R AAgOPkC/KztNTqEivDpnsr9yP/zMNCkw1D/T X-Google-Smtp-Source: ABdhPJwaeWVE2xcq6puggeiJuqIA+QoPr7qU71EqextGBQIa1TdaDFxClpwauH1vz5rFBuw9lNccyw== X-Received: by 2002:adf:f942:: with SMTP id q2mr630838wrr.427.1623870540977; Wed, 16 Jun 2021 12:09:00 -0700 (PDT) Received: from ?IPv6:2a01:e34:ed2f:f020:60a0:f51c:af6:2dab? ([2a01:e34:ed2f:f020:60a0:f51c:af6:2dab]) by smtp.googlemail.com with ESMTPSA id z5sm2949798wrp.92.2021.06.16.12.08.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Jun 2021 12:09:00 -0700 (PDT) Subject: Re: [PATCH v1 4/5] clk: tegra: Add stubs needed for compile testing To: Dmitry Osipenko , Thierry Reding , Jonathan Hunter , "Rafael J. Wysocki" Cc: linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org References: <20210606222817.12388-1-digetx@gmail.com> <20210606222817.12388-5-digetx@gmail.com> From: Daniel Lezcano Message-ID: Date: Wed, 16 Jun 2021 21:08:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210606222817.12388-5-digetx@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org On 07/06/2021 00:28, Dmitry Osipenko wrote: > Add stubs needed for compile-testing of tegra-cpuidle driver. > > Signed-off-by: Dmitry Osipenko > --- > include/linux/clk/tegra.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/include/linux/clk/tegra.h b/include/linux/clk/tegra.h > index d128ad1570aa..9bd06d8a5436 100644 > --- a/include/linux/clk/tegra.h > +++ b/include/linux/clk/tegra.h > @@ -42,7 +42,11 @@ struct tegra_cpu_car_ops { > #endif > }; > > +#ifdef CONFIG_ARCH_TEGRA > extern struct tegra_cpu_car_ops *tegra_cpu_car_ops; > +#else > +static struct tegra_cpu_car_ops *tegra_cpu_car_ops __maybe_unused; > +#endif Why not just have __may_be_unused without the #ifdef ? > static inline void tegra_wait_cpu_in_reset(u32 cpu) > { > -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog